Expand my Community achievements bar.

SOLVED

Set s.pageName using direct call - DTM

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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!

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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!

Avatar

Level 2

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