Unknown launch/dtm libraries under head tag

chetan4664

08-02-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

StewSchilling

MVP

11-02-2019

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.

Answers (2)

Answers (2)

chetan4664

10-02-2019

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.

StewSchilling

MVP

08-02-2019

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