Set SDK Environment

Setting up the environment for your application is critical. We strongly recommend you to use this setting carefully. The default environment is set to production, which means that the VWO SDK will send events to the VWO server for tracking visitors and conversions along with actions like bucketing variation, checking eligibility of a user to become part of a campaign, assigning a variation to a user, and so on.

Environment

Type

Default

isDevelopmentMode

Boolean

false

🚧

NOTE

You must set the environment to isDevelopmentMode: true if you're experimenting with the SDK.

var settingsFile = await vwoSDK.getSettingsFile(accountId, sdkKey);

var vwoClientInstance = vwoSDK.launch({
  isDevelopmentMode: true, // Set this for DEVELOPMENT
  settingsFile: settingsFile
});

Did this page help you?