Expand my Community achievements bar.

SOLVED

DTM: what use does DTM make of the s_code specified for the Adobe Analytics tool

Avatar

Level 1

Getting started with DTM.  Our legacy analytics implementation (with which I'm only vaguely familiar) is based on s_code.js with the media and integrate modules and

some custom js code we have developed.  We've decided to start using appmeasurement.js and its related sources (for media, integrate and visitor id) for this integration.

I've set up the Adobe Analytics tool in a test property and published.  I've looked over the generated javascript code that I am supposed to embed and I don't see anything

there that looks like it might have come from my 'managed' s_code.  Does DTM re-implement the functionality from which ever s_code-ish code I decide to use?  If so, what is

the purpose of specifying the s_code that is to be used?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi csc_mike_byers,

The 'managed' s_code will be loaded in a separate script call when the page loads.  DTM doesn't modify anything with your managed s_code, but simply does not load it when needed.  Here is a screenshot of what I am referring to:

[img]Screen Shot 2014-06-12 at 10.13.31 AM.PNG[/img]

satellite-lib... is the DTM container code which is loaded when you embed that javascript code on your page.

s-code-contents... is the file that gets loaded dynamically for your analytics tool that contains the 'managed' s_code for your analytics tool.

So, the purpose of specifying the s_code is just the same as legacy analytics implementation.  It is just like include s_code.js on your page, but now can be managed a little better.  

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi csc_mike_byers,

The 'managed' s_code will be loaded in a separate script call when the page loads.  DTM doesn't modify anything with your managed s_code, but simply does not load it when needed.  Here is a screenshot of what I am referring to:

[img]Screen Shot 2014-06-12 at 10.13.31 AM.PNG[/img]

satellite-lib... is the DTM container code which is loaded when you embed that javascript code on your page.

s-code-contents... is the file that gets loaded dynamically for your analytics tool that contains the 'managed' s_code for your analytics tool.

So, the purpose of specifying the s_code is just the same as legacy analytics implementation.  It is just like include s_code.js on your page, but now can be managed a little better.  

Avatar

Level 1

Thanks for the excellent explanation.

Avatar

Employee

You are welcome.  If you feel like I answered your question sufficiently, will you mark it as answered so others who come looking for similar answers can filter by answered questions?

Thanks,

Ben