Highlighted

push data into utag_data

Rookie Contributor

how could I push data into utag_data? ie: click in a button I would need to include a variable

3 REPLIES 3
Highlighted

push data into utag_data

Employee Emeritus

Hello @EstherVG. Your question is a little too general for us to answer. Can you read this article then elaborate on your question for us, please. 

 

 

Thank you. 

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

push data into utag_data

Rookie Contributor

Hello Kathleen,

 

I am sorry for the detail, I include more information.

I have utag_data in each page with 5 variables, in product page I have to include 2 variable more in utag_data, how could I push these variables without use utag.view?

 

Thank you

Highlighted

push data into utag_data

Silver Contributor
Silver Contributor

@EstherVG, if you have access to the html/js that defines the var utag_data you can add it there. This is perhaps only possible by IT or your pages developer. The advantage is that this is the easiest way to add a variable as the developer has to only say utag_data.new_variable='value'; and you are done with it. The downside is that you have to ask IT to do it and this might take some time, especially if you need to do this excercise for multiple pages.

You could also use a set data extension in tealium which allows you to add a value to a variable based on a condition. The upside is that you can change this yourselve, downside being that if you have a lot of pages you will have an unmaintanable list of extensions in the long run.

My advice, invest time in planning your 'standard' data layer, for specific pages,define the extra variables and plan with your IT POC to have them implement it