How to reach event object in custom code condition? | Community
Skip to main content
cagriy90795788
Level 2
Apr 7, 2020 7:33 AM UTC
Solved

How to reach event object in custom code condition?

I have a rule that is bound to the mouse click event. In the conditions section I want to be able to use this event in my custom code before I execute any actions. 

 

Adobe Analytics extension has this event object in the Set Variables action. But I need to use the same object before I reach this action.

 

Is there a way to pass the event object into the condition that is configured as a custom code? (I don't want to use global event object since it is not present in the old versions of some browsers.)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
franzli
franzliAccepted solution
Level 4
Jun 11, 2020 2:31 AM UTC

How I work around this is by having a 2nd rule to listen to the 1st rule.

 

2 replies

jantzen_b
Employee
Sep 14, 2020 8:19 PM UTC
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?
Translate
franzli
franzliAccepted solution
Level 4
Jun 11, 2020 2:31 AM UTC

How I work around this is by having a 2nd rule to listen to the 1st rule.

 

Translate