Is there a way to access UDO vars from a Google Floodlight dynamic tag loaded by Tealium?

Gold Contributor
Gold Contributor

Hi everyone,

I'm trying to access data layer's UDO variables from a Google Floodlight dynamic tag. This Floodlight is implemented as a Tealium DoubleClick tag, so everything is in the same Tealium configuration.

I've tried to access the utag or utag_data javascript variables from the tag, but when the dynamic tag is triggered they both don't result initialized yet.

Is there a way to access those UDO variables?

I really appreciate any help you can provide.

 

 

1 REPLY 1

Is there a way to access UDO vars from a Google Floodlight dynamic tag loaded by Tealium?

Tealium Employee

Hi @alessandro_pell,

 

Inside the tag, the data-layer becomes the b object. So utag.data['key'] becomes b['key'].

I've tried to access the utag or utag_data javascript variables from the tag, but when the dynamic tag is triggered they both don't result initialized yet.

Can you explain here how you're trying to access them? Post some code.

Both utag.data and utag_data live in the browser's global scope (usually) so you should still be able to reference those params using javascript from the scope of the tag. 

If you are trying to access the params using our interface, then you need to map the udo variables to some param in the tag.

Public