Hello, I am new to DTM and I have set up a few data elements and I need to set the page name on every page but there is no page refresh. The page names are defined in the data layer. How do I create a rule, specifically, to capture the page name depending on what it is defined in the data layer?
Solved! Go to Solution.
Views
Replies
Total Likes
This sounds like you are talking about a single page application that uses ajax or something like that. The best method for handling this would be the use of a Direct Call rule. You build the rule like any other in DTM, but the name you give it becomes a parameter in a function call. _satellite.track('Direct Call Rule Name Here'). You will need this function call embedded into the call on the page that controls the loading of new content.
-Rudi
Views
Replies
Total Likes
This sounds like you are talking about a single page application that uses ajax or something like that. The best method for handling this would be the use of a Direct Call rule. You build the rule like any other in DTM, but the name you give it becomes a parameter in a function call. _satellite.track('Direct Call Rule Name Here'). You will need this function call embedded into the call on the page that controls the loading of new content.
-Rudi
Views
Replies
Total Likes