Skip to main content
franciscob93520
Oct 16, 2015 2:30 AM UTC
Solved

Set s.pageName using direct call - DTM

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
WhoaShekhar
WhoaShekharAccepted solution
Level 10
Oct 16, 2015 2:30 AM UTC

Hi there,

Thanks for reaching out and apologies for the delay.

Please go through the below troubleshooting article and see if it helps:

https://marketing.adobe.com/resources/help/en_US/dtm/c_Troubleshooting.html

Thanks!

2 replies

WhoaShekhar
WhoaShekharAccepted solution
Level 10
Oct 16, 2015 2:30 AM UTC

Hi there,

Thanks for reaching out and apologies for the delay.

Please go through the below troubleshooting article and see if it helps:

https://marketing.adobe.com/resources/help/en_US/dtm/c_Troubleshooting.html

Thanks!

Translate
Level 2
Apr 7, 2016 2:02 PM UTC

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

Translate