S-Code-Contents JS loaded twice on page by DTM?

Avatar

Avatar
Contributor
Level 4
Reyhan_Sadaka
Level 4

Likes

51 likes

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Contributor
Validate 1
Shape 1
Give Back
Boost 50
View profile

Avatar
Contributor
Level 4
Reyhan_Sadaka
Level 4

Likes

51 likes

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Contributor
Validate 1
Shape 1
Give Back
Boost 50
View profile
Reyhan_Sadaka
Level 4

19-01-2017

I have an Adobe Analytics implementation that I am extending to a new brand on the same site. We are performing an upgrade from H Code to JS code, and so there are currently two version of analytics existing in the QA environment (the H code version delivered by Tealium which is being phased out, and the JS version being delivered by DTM which is being phased in). The Analytics variable name has been correctly overridden to "sDtm" instead of just "s".

On this new brand however, I'm noticing 3 AA beacons when I only expect two. I would expect to see 1 old H Code beacon, and 1 new JS beacon, however I am seeing 1 old H Code beacon and 2 new JS beacons. When I check the Elements tab in Chrome, I find that two copies of s-code-contents-XXXXXXXXXXX-staging.js are being loaded on the page. So now I'm seeing one JS beacon from /b/ss/%ReportSuite%/1/JS-1.7.0-D6L7 and one from /b/ss/%ReportSuite/1/JS-1.7.0-D6ZS.

I need some help figuring out what circumstances might cause DTM to load the tool twice on the page. When I looked at the actual page source, I'm only seeing one call to the DTM staging library, and one call to _satellite.pageBottom(). The code has not been changed for the new brand implementation yet, and when I check the other brand pages I do not see this issue.

Any assistance would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,338 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,338 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

19-01-2017

Hi Reyhan,

How is your Analytics tool deployed inside DTM? Are you using a customized library or managed by Adobe? Where are you hosting your Analytics JS code? Is that deployed to the site directly or through DTM? If it is already on the page, you may need to check the "Page code is already present" box. Otherwise, you may have the library being deployed twice which could cause a double beacon.

If you can send me a private message with your account details, I'll take a look at your setup to see if I see anything out of place.

Cheers,
Jantzen

Answers (1)

Answers (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

30-01-2017

Hi Reyhan,

Does the above answers from Jantzen help's to answer your queries ?. If yes, Please go ahead and mark this query as resolved.

Thanks & Regards

Parit Mittal