Set s.pageName using direct call - DTM

Avatar

Avatar
Validate 1
Level 1
franciscob93520
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
franciscob93520
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
franciscob93520
Level 1

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)

Avatar

Avatar
Give Back 25
Employee
shekhardhiman
Employee

Likes

51 likes

Total Posts

688 posts

Correct reply

330 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
shekhardhiman
Employee

Likes

51 likes

Total Posts

688 posts

Correct reply

330 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
shekhardhiman
Employee

15-10-2015

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!

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
glennh36560771
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
glennh36560771
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
glennh36560771
Level 1

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