Highlighted

overriding utag_data values within the dev google chrome console ?

spujade
Visitor
spujade

Hi the Tealium community,

 

I'm new to the Tealium Community as well i've some basic knowledge about JavaScript. So for this newbie question, I would like to know if there is a way to do like a datalayer.push function or equivalent to override the values implemented by my dev into the website's datalayer.

My idea is to do 2 things:

* to show the dev what is the expected value for a specific variable directly 'live' even if i don't have any access to the CMS ==> like an overriding of the value for the variable

* to get the possibility to trigger some tags or some events (e.g via the tealium IQ extensions) directly from the dev  google chrome console 

 

I was able to do it previously with Google analytics with some websites which were using Google tag manager.

Because i don't have access to the CMS, i should only use the Google dev console

Many thanks for your help

Sébastien

2 REPLIES 2

overriding utag_data values within the dev google chrome console ?

vinayreddy
Visitor
vinayreddy

Hi @spujade ,

You can add a new custom extension of type "setdata values" in there you can select the data layer you want to modify and pass the expected value and set the scope to all tags you shold be fine and be able to see the overrided values in the data layer. 

 

overriding utag_data values within the dev google chrome console ?

spujade
Visitor
spujade

Hi @vinayreddy,

 

Can you please provide an example code ? 

Because, if my understanding is correct, i need to create this new custom extension within Tealium IQ, whereas i would like to change my values on the fly using my google chrome debugger console ?

Thanks in advance for your tips

All the best,

Sébastien