Expand my Community achievements bar.

SOLVED

Unknown launch/dtm libraries under head tag

Avatar

Level 2

Hello

While debugging in Chrome. I can see my standard launch library as below which is as expected.

<script src="//assets.adobedtm.com/launch-XXXXXX.min.js" async=""></script>

However, besides this I also see few more libraries loading. Dont know what these libraries are and what is making them populate in my <head> tag.

<script src="//assets.adobedtm.com/extensions/EP143333dab9bb4582a773c81f3a840074/AppMeasurement.min.js" async=""></script>

<script src="//assets.adobedtm.com/somealphanumeric/somealphanumeric-source.min.js" async=""></script>

Any help would be appreciated. Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

AppMeasurement.min.js is the Adobe Analytics library (loaded by the AA extension).

Others that may show in the head will most likely be snippets loaded by other extensions or (page top) Library Load rules.

If you have custom code actions on your rules, the code that you enter for those custom code snippets will be loaded when needed. If needed on demand (e.g. by a rule triggered on a click event), those snippets will show up on the bottom of the DOM.

One thing to note - If you are using the async embed of Launch in the HEAD, the other scripts loaded in the head will also be async.

If you want to know what each one is, use the Chrome Network tab, and look at Preview or Response pane to see what code is being provided by each.

View solution in original post

3 Replies

Avatar

Community Advisor

These are secondary files that are pulled in by Launch as it initializes.

If you are looking in the Elements tab of the Chrome dev tools, you are seeing the live DOM.  As changes are made in the application, you see those changes reflected here.

If you want to see the HTML of the page as it was delivered (before any DOM manipulations, use View Page Source

Screen Shot 2019-02-08 at 9.45.03 AM.png

Avatar

Level 2

What is the source of these files ? What are these secondary files - any documentation link would also be helpful.

I dont see these loaded on other client installations so worried that these are hampering page load.

Avatar

Correct answer by
Community Advisor

AppMeasurement.min.js is the Adobe Analytics library (loaded by the AA extension).

Others that may show in the head will most likely be snippets loaded by other extensions or (page top) Library Load rules.

If you have custom code actions on your rules, the code that you enter for those custom code snippets will be loaded when needed. If needed on demand (e.g. by a rule triggered on a click event), those snippets will show up on the bottom of the DOM.

One thing to note - If you are using the async embed of Launch in the HEAD, the other scripts loaded in the head will also be async.

If you want to know what each one is, use the Chrome Network tab, and look at Preview or Response pane to see what code is being provided by each.