• Preparing search index...
  • The search index is not available
Experiment JS Client Documentation - v1.15.6
  • Experiment JS Client Documentation
  • initialize

Function initialize

  • initialize(apiKey, config?): ExperimentClient
  • Initializes a singleton ExperimentClient identified by the configured instance name.

    Parameters

    • apiKey: string

      The deployment API Key

    • Optional config: ExperimentConfig

      See ExperimentConfig for config options

    Returns ExperimentClient

Settings

Member Visibility

Theme

Experiment JS Client Documentation - v1.15.6
  • Source
  • AmplitudeAnalyticsProvider
  • AmplitudeIntegrationPlugin
  • AmplitudeUserProvider
  • ExperimentClient
  • StubExperimentClient
  • Client
  • ExperimentAnalyticsEvent
  • ExperimentAnalyticsProvider
  • ExperimentConfig
  • ExperimentPlugin
  • ExperimentUserProvider
  • ExposureTrackingProvider
  • IntegrationPlugin
  • ExperimentEvent
  • ExperimentPluginType
  • ExperimentUser
  • Exposure
  • FetchOptions
  • Variant
  • Variants
  • Experiment
  • initialize
  • initializeWithAmplitudeAnalytics