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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to reach event object in custom code condition?

cagriy90795788
Level 2
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
franzli
Correct answer by
Level 4
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
franzli
Correct answer by
Level 4
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

jantzen_belliston-Adobe
Community Manager
Community Manager
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?