Reply
Highlighted
Visitor
Posts: 13
Registered: ‎11-09-2017

Error message in console

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

Reply
0 Kudos
VIP
Posts: 205
Registered: ‎01-04-2016

Re: Error message in console

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

Reply
0 Kudos
Occasional Contributor
Posts: 120
Registered: ‎12-11-2015

Re: Error message in console

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

Tealium Employee
Posts: 72
Registered: ‎09-01-2015

Re: Error message in console

@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