Skip to main content

Dynamic Yield Integration

Written by Charley Bader
Updated over 3 weeks ago

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

How to create an experience in Dynamic Yield - Event Triggers

  1. In your Dynamic Yield Campaign Settings, choose Event as the Trigger type

  2. Copy the event name given to you in the Trigger modal, e.g. intent.dy.66cda0c162b42a1e456a7eda, and paste it into the DY configuration field

  3. Set up the rest of your campaign in Dynamic Yield as usual

How to create an experience in Dynamic Yield - Dynamic Content

  1. In your Dynamic Yield Campaign Settings, choose Wait For | External Component in the Advanced Settings section

  2. Copy the component name into there as intent.dycomponents.<id> e.g.

Debugging

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.

Did this answer your question?