Set s.pageName using direct call - DTM

franciscob93520

15-10-2015

Hi, when I trigger an s.t call using a direct call rule to set a specific pagename I'm getting two server calls from the same page, one from the regular library and one from the direct call. How can I just set the pageName variable using the direct call so that when the rest of the tool runs I only track 1 page view but with the correct pagename? I'm thinking we can just leverage the custom script on the direct call rule to set s.pageName="XYZ"; and have it solved, but its not working.

Accepted Solutions (1)

Accepted Solutions (1)

Answers (1)

Answers (1)

glennh36560771

07-04-2016

Hi There, I know this is an old post but I am experiencing the same issue, I tried looking in the trouble shooting section but I could find an answer. 

We are using react.js and the page does not do a full refresh since the content is pulled in via ajax calls, the driect call rule works fine when I move one page to the next but as soon as I manually refresh the page I get to server calls going off