Error message in console

Gold Contributor
Gold Contributor

Hi, 

we always get the following error message:

 

tealium-error.png

Why do we get this message and how can we fix this? 

 

Thanks,

Sophie

3 REPLIES 3

Error message in console

Tealium Expert
Tealium Expert

Hi Sophie - you can start by clicking the linked file 'utag.js:132' and when  you do that, you should then see the utag.js (Tealium loader file) in the Sources tab and you should land on line 132 and be able to trace back from there. 

 

Likely there's a stray variable in your profile which isn't getting set consistently.  You want to fix this sooner than later  because it may be causing data loss.

 

Feel free to post a link to the affected site if you'd like, and be sure to come back with questions (or the resolution).

Tealium Expert

Error message in console

Tealium Expert
Tealium Expert

Hi @SKammerlocher,

This is almost certainly due to an extension attempting to use utag.DB (the debug logging function) before the utag object has been created.

The likely culprit is a pre-loader extension - these run before the utag object is initialised, so attempts to invoke utag.DB return an error stating that the utag object is undefined and as such has no property "DB".

Error message in console

Tealium Employee

@Hi @SKammerlocher

 

 This error can also be caused if you are using the web companion to switch enviroments but are also bundling tags. If this is the case then I would suggest instead of using the web companion to change envriorments to use the Enviroment Switcher Tealium Tool.

 

https://community.tealiumiq.com/t5/iQ-Tag-Management/Tealium-Tools-Environment-Switcher/ta-p/16027

Public