How do I create a data element that captures all of my events for pathing?
I am trying to implement pathing that includes page names and all of the events I implemented in DTM. On a blog I read , the author mentioned to me that he created two data elements. One for page name and the other for custom hits.
See below what blog author told me what he did.
"I did two data elements, one for pagename and for custom hits. Then in the tool settings -> global variables, I added propX with my data elements. This wasn’t enough for custom hits, so I had to add custom code (can be found in the bottom of all the settings) s.linkTrackVars=”propX”; and voila it sent my custom hit to that prop when I tested with certain clickable element. This way you get to automate the process, but of course you could always manually add this prop to every custom hit you make in DTM, and that should also work.
Sorry for “not so detailed” instructions, just too busy at the moment. But if you could tell me more about the problem, then hopefully I can give more advice. Or maybe better to ask in Adobe’s help forum, I’m sure there are many hardcore DTM users and they surely can give you better guidance?"
I am interested in doing the same thing, but not sure of all the steps needed to do so.
Thank you