Skip to main content
Convert Segment Executions
Charley Bader avatar
Written by Charley Bader
Updated over 3 months ago

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

  1. Configure your Convert campaign as normal

  2. Create a New Audience in Convert and add a JS Condition to the rule set

  3. Copy the Convert Experiment ID into the edit segment execution modal under Convert Experiment ID

  4. Copy and paste the JS condition within the segment execution modal into the JS condition box

  5. Save the segment execution

Previewing the Experiment

  1. 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

  2. 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:


โ€‹

Did this answer your question?