I just saw this and frankly it is useless. Almost all of my rules use custom code and the comparison screen shows my code minified and all on one line.I need it to appear as it does in the code editor.
This cannot be done thru a processing rule unless all the individual pieces are being sent at the same time. I would suggest using a custom variable, e.g. an array to capture all these values and then send them concatenated prior to when the user navigates away from the page or closes the browser.
I don't think you can do what you are proposing. I think it is a 1:1 relationship with direct call rules (and possibly 1:many). Meaning that each direct call will have to have at least one rule attached to it. I also don't think there is any way of referencing the trigger event. What I would do is ...
Aaron,Can you clarify accessing the event detail? If I do this _satellite.track('home', {'name':'John'})console.log (event.detail.name) is invalid - no detail property.Thanks
For all our SPAs we use direct call rules which the developer would fire after the datalayer was ready. Custom events ion DTM I believe are page events such as button clicks, hash changes, etc. that trigger a rule to fire.
It is a confirmed bug. A JIRA ticket was opened with DTM devs. We are not using data elements since that would require us to create a rule for every page load. We have about 30 different pages with different tags firing on each one. The approach we took is 6 rules, 3 for page loads and 3 for link cl...