Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Triggering Rules with a CustomEvent - on window

Avatar

Level 4

Based, on this post, https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform-launch/how-to-trigger-cus... 

 

can I trigger the window on the custom event type? Does listening on window work now in Adobe Launch?  Do you have to dispatch the event from window to body or document ?

image.png

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Yes, listening for Custom Events on window works in Adobe Launch. This assumes that you're using the native Custom Events (reference: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent).

There's a short guide on using Custom Events in Adobe Launch at https://jimalytics.com/adobe-launch-guides/adobe-launch-rule-events-guide/#Other_Events (search for the "Custom Event" header in that web page).

1 Reply

Avatar

Correct answer by
Community Advisor

Yes, listening for Custom Events on window works in Adobe Launch. This assumes that you're using the native Custom Events (reference: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent).

There's a short guide on using Custom Events in Adobe Launch at https://jimalytics.com/adobe-launch-guides/adobe-launch-rule-events-guide/#Other_Events (search for the "Custom Event" header in that web page).