When you create a segment execution for Bloomreach, the Made with Intent client script will push an event of the form
intent.bloomreach.66cd91926aeafc043b5b5a11
to your dataLayer every time the method and trigger conditions are met. Bloomreach now supports a trigger of type Datalayer event which means we can initialise an experiment when an Intent segment matches.
Initialise experiments using segment executions
In your Bloomreach experiment Settings, choose Datalayer event as the trigger type
Copy the event name given to you in the Edit Segment Execution modal, e.g.
intent.bloomreach.66cd91926aeafc043b5b5a11
and paste it into your Bloomreach experiment settings as the datalayer event nameSet up the rest of your experiment in Bloomreach as normal
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 the experiment in Bloomreach
Publishing the Experiment
Once a segment execution is saved, the dataLayer events will be dispatched every time the segment matches, irrespective of whether the events are used in Bloomreach. When you publish your experiment with the dataLayer event trigger, the experience is executed as follows:
โ