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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Success Events Mapping (Lookup Table)


Level 2


Scenario: There is a Global Event Tracker as a rule in place, which provides an event listener on data-attributes. Every Element on a page (mail link, phone link, offsite, cta button) is tagged by this data-attribute. By now, I have Custom Code in place, which sets the success events based on the event_category. So for every event_category I want to use a different success event. And the goal should not be to add for different event_categories different rules. So we should have an extension or element like a lookup table where we can map multiple success events based on a variable. In this case we would have like one global event listener which triggers the link click and maps it to the corresponding success event.