Closed brobatr closed 2 years ago
Thanks @brobatr
Steps to reproduce:
Using the extension I have a tag library with 2 rules, each listening for a specific event (sfmcCollectLoaded, ecommerceDetail) - the rule action just logs to the console. The ecommerceDetail event is consistently skipped.
If I remove the extension and deploy the GTM Helper library using a custom code rule on window loaded and a direct call in the listener all events are consistently caught and both rules fire:
solved my moving the helper instantiation after the listener is created
@ogillies please check and add any detail. I will be able to work on this from 14.08
Expected Behaviour
Tags rules can catch all events in DL history on instantiation.
Actual Behaviour
Some events are not caught. Assumption is that the Tags listeners are not created quickly enough to catch the DL instantiation.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem