Using Made With Intent, you can integrate with Dynamic Yield to trigger in-session experiences based on real-time visitor intent.
This allows teams to continue building experiences in Dynamic Yield, while using Made With Intent to decide who should see an experience and when, based on what a visitor is trying to do in that moment.
How does it work?
When you create a trigger for Dynamic Yield, the Made With Intent client script will push a custom event with the name:
intent.dy.IDENTIFIER
to the Dynamic Yield platform when the segment method and trigger conditions are met.
It will also create an external component:
intent.dycomponents.IDENTIFIER
Bucketing
Made with Intent takes care of campaign bucketing - our bucketing engine is responsible for allocating traffic to your experiences. When integrating with Dynamic Yield, your Intent campaign experiences should map 1 to 1 to your Dynamic Yield content. You do not need to allocate traffic in Dynamic Yield.
Trigger targeted experiences in Dynamic Yield
When creating a campaign in the Made with Intent platform, choose third party trigger as the content type
Select Experiment Trigger as the execution type
Copy the event name e.g.
intent.dy.6a4b76bfdb712c88842f159f, from the experiment trigger modalCreate a targeted experience in Dynamic Yield - your DY campaign experience is what will be triggered by Made with Intent experience triggers.
Under Who? choose event trigger
Copy and paste the Intent third party trigger event name as the value
Other Ways to Trigger campaigns in DY
Targeting DY custom code campaigns using event triggers
Targeting DY custom code campaigns using event triggers
In your Dynamic Yield Campaign Settings, choose Event as the Trigger type
Copy the event name given to you in the Experiment Trigger modal in the Made with Intent campaign manager, e.g.
intent.dy.66cda0c162b42a1e456a7eda, and paste it into the DY configuration fieldSet up the rest of your campaign in Dynamic Yield as usual
External Components / custom code matching
External Components / custom code matching
When a Made with Intent experience is triggered, it sets
intent.dycomponents.<id>on the window. You can use this as an 'external component' in DY or to poll for matches in custom code.
Wait for External Component
When creating a campaign in the Made with Intent platform, choose third party trigger as the content type
Select Experiment Trigger as the execution type
Copy the dy components code e.g.
intent.dycomponents.6a4b76bfdb712c88842f159f, from the experiment trigger modalIn your Dynamic Yield Campaign Settings, choose Wait For | External Component in the Advanced Settings section
Copy the component name into there as
intent.dycomponents.<id>e.g.
Debugging external components
Debugging external components
Copy and paste the following code into DevTools console:
intent.dycomponents['66cda0c162b42a1e456a7eda'] = function() { return true; }replacing 66cda0c162b42a1e456a7eda with your trigger ID. This should trigger the campaign.
This mimics the setting of the external components by the Intent services.



