Expand my Community achievements bar.

Success Events Mapping (Lookup Table)

Avatar

Level 2

10/22/19

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.