How to reach event object in custom code condition? | Community
Skip to main content
cagriy90795788
April 7, 2020
Solved

How to reach event object in custom code condition?

  • April 7, 2020
  • 2 replies
  • 3260 views

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.
Best answer by franzli

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

 

2 replies

franzli
franzliAccepted solution
June 11, 2020

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

 

jantzen_b
Adobe Employee
Adobe Employee
September 14, 2020
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?