Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

New Relic Data gives Wrong page views URL after New Relic script added via DTM

Avatar

Avatar
Validate 1
Level 2
rajkumarsamala
Level 2

Likes

5 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
rajkumarsamala
Level 2

Likes

5 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
rajkumarsamala
Level 2

28-11-2017

We have added a new relic script via DTM,

and New Relic Data shows wrong Page URL, it shows Page views as DTM URL, not actual page views,

this happening because DTM will compile all scripts and executes the script with in a iFrame. so New Relic is considering iframe url as request URL.

any one have idea how to fix this using DTM ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
joshd7227840
MVP

Likes

275 likes

Total Posts

241 posts

Correct Reply

70 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
MVP
joshd7227840
MVP

Likes

275 likes

Total Posts

241 posts

Correct Reply

70 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joshd7227840
MVP

28-11-2017

From the documentation, there are 4 types of Javascript / 3rd Party Tag containers.

It sounds like you chose Non-Sequential HTML container type, which appends a DTM hosted iframe to the page, with your code in it. To append your code to the parent page, you must change the tag type to either Sequential HTML, or convert the tag to pure javascript and use Sequential Javascript or Non-Sequential Javascript type.

Side note: make sure to read the document page I provided above to ensure the type you choose is compatible with when you have it set to output (top of page, bottom of page, dom ready, window load)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
rajkumarsamala
Level 2

Likes

5 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
rajkumarsamala
Level 2

Likes

5 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
rajkumarsamala
Level 2

30-11-2017

Thanks for reply,

am using Non-Sequential Javascript type and I already converted script to Pure Javascript,

This is something i need to update new relic script to take it's parent page or any other setting in DTM ?