Added a generic tag but it doesn't work as expected

Bronze Contributor
Bronze Contributor

Hello,

 

I have a generic tag on one page and an extension for it. The tag is configured to load a script and the extension should populate window.myTagData. During the tests I see that utag.189.js is loaded (189 is my tag's ID). So far so good, but as far as I understand utag.189.js should load the actual script I specified in the Generic Tag settings. But I don't see this script anywhere. According to browser console there is no HTTP request for this script and there's no script tag across the page. Inside utag.189.js I see a valid URL being generated, but it is never used. The extension doesn't get executed too (I don't see the code in utag.js or utag.189.js).

 

Am I missing anything obvious? Thanks

4 REPLIES 4

Added a generic tag but it doesn't work as expected

Tealium Employee

@AntonMitkovets

 

The first question that pops to mind is are you using a view or link event? As currently the generic tag only supports view, link support has to be added to the template.

 

Adrian

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

Added a generic tag but it doesn't work as expected

Bronze Contributor
Bronze Contributor
Thanks for your response @adrian_browning!
Well, we use a link event to populate some UDO variables that are later used in a load rule for the tag I'm working on. So I suppose we use a link event. What template should I modify then? I don't see anything related in the tag's template but uTag loader template looks promising.

Added a generic tag but it doesn't work as expected

Tealium Employee
I think what Adrian is asking is if you're expecting the Generic Tag to load the external script when the web page loads or are you expecting it to be triggered sometime later based on an on-page event such as a button click, scroll event, etc.

If you're expecting it to load when the web page loads, then you shouldn't have to modify the tag template.

I'm wondering if your load rule might not be getting satisfied and that might be preventing the Generic Tag from running. Maybe try using the "Load on All Pages" rule and see if that makes any difference?

Added a generic tag but it doesn't work as expected

Employee Emeritus

Hello @AntonMitkovets. I am not sure if you've seen this series. 

 

https://community.tealiumiq.com/t5/Tealium-iQ/SERIES-How-To-Use-Tealium-iQ-Custom-Tags/ta-p/9508

 

Perhaps it can help?

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.
Public