When you create a segment execution for VWO, the Made with Intent client script will tell VWO to execute a campaign by its ID at the point at which the segment matches. It's doing this behind the scenes:
window.VWO.push([
'activate', false, VWO_CAMPAIGN_ID, true
]);
and this fires every time the segment method and trigger conditions are met.
Initialise experiments using segment executions
Configure your VWO campaign as normal
Enable Manual Campaign Activation in your VWO campaign settings
Copy the VWO CAmpaign ID (e.g. 340) into the edit segment execution modal under VWO Campaign ID
Save the segment execution
Previewing the Experiment
Open the preview link in the Edit Segment Execution modal - this will force bucket you into the segment we want to execute the experience for
Preview your campaign using the VWO Preview Tool
Publishing the Experiment
Once a segment execution is saved, the underlying VWO activation code is triggered when the segment matches. VWO then takes over. If the campaign is active, the campaign is activated when a segment matches according to the following flow:
โ