- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
10-23-2017 08:54 PM - edited 10-23-2017 08:54 PM
Hi,
I am working to create a custom Tag template to load and execute Dynatrace Tag on my application pages. Dynatrace wants the files loaded with script tag metatag data-*. I dont see any way in tealium where I can provide or update meta tag. Even if I mdify the template it doesnt work.
Load this file on application page
https://js-cdn.dynatrace.com/jstag/147f273fa2a/ruxitagent_2SVfgjqrx_10129170927131437.js
It should be injected on page as:
<script type="text/javascript" src="https://<domain>/ruxitagent_2SVfgjqrx_10129170927131437.js" data-dtconfig="app=EE65AC73D852ECA6|cors=1|featureHash=2SVfgjqrx|lastModification=0|dtVersion=10129170927131437|reportUrl=https://bf68934zep.bf.dynatrace.com/bf|tp=500,50,0,1" crossorigin="anonymous"></script>
Any help would be appreciated.
10-24-2017 11:18 PM - last edited on 10-25-2017 07:06 AM by kathleen_jo
Hello @amit_ranjan,
I'd recommend you to have a look at below Post which is similiar to DynaTrace tag be added to the head of the page.
I believ it helps to proceed further. Thanks!
11-03-2017 05:06 AM
Hi @amit_ranjan
If you are using the Custom Container and using the u.loader
or the utag.ut.loader
methods to load the script you can use the attrs property to add data to the script tag.
Example:
utag.ut.loader({attrs : {"data-something" : "somedata"}, src : "/blanks.js"});
This will add the HTML:
Hope this helps,
Adrian
Copyright All Rights Reserved © 2008-2023