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.
You must set the environment to isDevelopmentMode: true if you're experimenting with the SDK.
<?php require_once('vendor/autoload.php'); use vwo\VWO; $settingsFile = VWO::getSettingsFile($accountId, $sdkKey); $config=[ 'settingsFile'=>$settingsFile, 'isDevelopmentMode'=>true // Set this for DEVELOPMENT ]; $vwoClientInstance = new VWO($config);
Updated 8 months ago