Expand my Community achievements bar.

SOLVED

How to reach event object in custom code condition?

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 4

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

franzli_0-1591842689532.png

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

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

franzli_0-1591842689532.png

 

Avatar

Level 10
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?