Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

View solution in original post

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