When you create a segment execution for Convert, the Made with Intent client script will tell Convert to execute an experiment by its ID at the point at which the segment matches. It's doing this behind the scenes:
window.intent.__convertxp[segmentExecution._id] = 1;
...
window._conv_q.push([
'executeExperiment',
segmentExecution.meta.convertExperimentId,
]);
and this fires every time the segment method and trigger conditions are met.
Initialise experiments using segment executions
Configure your Convert campaign as normal
Create a New Audience in Convert and add a JS Condition to the rule set
Copy the Convert Experiment ID into the edit segment execution modal under Convert Experiment ID
Copy and paste the JS condition within the segment execution modal into the JS condition box
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 Convert
Publishing the Experiment
Once a segment execution is saved, the underlying Convert activation code is triggered when the segment matches. Convert then takes over. If the campaign is active, the campaign is activated when a segment matches according to the following flow:
โ