Avatar

Level 1

I was hoping to only have 1 file containing either the Staging or Production script linked from all my HTML pages. That way if I have to change my Analytics link, I only have to switch one file instead of all the pages. So I asked if it's possible to put the script in a separate file and call it from <head>.

e.g.

analytics.html:

<script src="//assets.adobedtm.com/someID-staging.js">

Actual HTML pages:

<head>

<!--some script to insert analytics.html here-->

</head>

etc.