How do I integrate Tealium tracking into a HTML + WinJs Application on Windows 8.1+?

Bronze Contributor
Bronze Contributor
WinJS apps on Windows do not allow scripts to be downloaded from a CDN and require scripts to be available locally. Can I download a copy of utag.js and use it locally?
5 REPLIES 5

How do I integrate Tealium tracking into a HTML + WinJs Application on Windows 8.1+?

Employee Emeritus

Hi Patrick W, this post: https://community.tealiumiq.com/t5/2-Tealium-iQ-Documentation/Hosting-Tealium-iQ-files-on-your-own-d... explains how to host the Tealium JavaScript files from an alternate location.

How do I integrate Tealium tracking into a HTML + WinJs Application on Windows 8.1+?

Bronze Contributor
Bronze Contributor
Thanks Clint. This does solve the problem with the CDNs but utag.js still attempts to download more scripts which WinJS does not allow in the local domain.

How do I integrate Tealium tracking into a HTML + WinJs Application on Windows 8.1+?

Employee Emeritus
Hi Patrick W, without knowing more details I can't answer fully but I suspect that some of the tags you are managing require the loading of another library in order to execute (for instance, google universal analytics loads in a google library to run and is not solely based on the Tealium iQ tag template). In those cases, Tealium iQ will try to serve the library from our CDN (or in some cases directly from the vendor) unless a script source override is configured. This is usually set in the Advanced Settings of the Tag Configuration. If you need more detailed information regarding that please reach out to your account manager so we can review your implementation requirements specifically.

How do I integrate Tealium tracking into a HTML + WinJs Application on Windows 8.1+?

Bronze Contributor
Bronze Contributor
Thanks for the response Clint. I'm trying to build a Windows App in Javascript for Windows 10 but I'm having trouble integrating Tealium into the project. It seems that the Windows app security model only allows local scripts in the project which prevents me from sourcing the scripts from a CDN. I have tried what you suggested and have overridden the script source to be retrieved locally which seems to work. However, I get script errors due to null references leading me to believe that the security policy is preventing the code from running. The only tag I am running now is Google Analytics.

How do I integrate Tealium tracking into a HTML + WinJs Application on Windows 8.1+?

Employee Emeritus
Patrick W, please contact your account manager so that we can dive deeper on this with you.
Public