Highlighted

self hosting + cdn hosting of utag.js file

Silver Contributor
Silver Contributor

Hi, 

I was wondering if this is possible via Tealium. I have a domain "abc.com" and domain "my-abc.com" one of the domain I want to use "self hosting" and another one I want to use "CDN hosting". Is that possible? I need to support above as it's my enterprise settings. 

Is it possible using Tealium to do above implementation without double counting/firing tags?

Thanks

 

5 REPLIES 5
Highlighted

self hosting + cdn hosting of utag.js file

Gold Contributor
Gold Contributor
Hello @zhaque,

Please go through below link,

https://community.tealiumiq.com/t5/iQ-Tag-Management/Self-Hosting-the-utag-js-Files/ta-p/10135

Hope it helps! Happy Learning!!!
Highlighted

self hosting + cdn hosting of utag.js file

Tealium Employee

Hi @zhaque

Technically yes you can. But this is also something that you should bring up with your Account Manager, due to being in the contract with regards to session tracking.

Adrian

Ask me anything Tealium related or Javascript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.
Highlighted

self hosting + cdn hosting of utag.js file

Employee Emeritus

Hello @zhaque. I have asked @JackilynAlmazan to reach out to your regarding this thread. Thank you. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Highlighted

self hosting + cdn hosting of utag.js file

Silver Contributor
Silver Contributor

@adrian_browning

Thanks for the tip. I have been playing around with the dual mode setup (self hosted + CDN) for different sub-domain. Interestingly as soon as you enable "self hosting" under "publishing config" and provide all the self hosting URL. Tealium CDN becomes de-activated.  So it seems either or not both. 

Question - if I do self hosting completely - what happen to pages where I am unable to remove the tealium CDN JS reference. It doesn't seem it will create duplicate hits - it will just be a bad user experience e.g. console JS errors etc. Correct?

Thanks.

self hosting + cdn hosting of utag.js file

Tealium Employee

@zhaque

If you want to you can self host the utag.js, but keep the publish targets empty, and the rest of the files will come from the CDN. That would be self hosted + CDN.

So if you have 2 references to utag on the page, the first to load will win.
The 2nd will see a flag that has been set, and will cancel itself.

Saying that, 2 things to be aware of.

  1. The 1st Preloader in the 2nd file will still run.
  2. Any bundled tags that have window scoped "library" code will execute.

Adrian

Ask me anything Tealium related or Javascript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.