Highlighted

I set a udata_data variable in a script tag in the html.

After an ajax call that changes the products on the page, I need to update the variable with different products. How do I do that?

1 REPLY 1
Highlighted

I set a udata_data variable in a script tag in the html.

Employee Emeritus

Justin
One way to think of it is that utag_data is used for the initial page view. Then each time you make an AJAX call you will need to send new data to each of your tagging vendors with different product data. To do this you can use the utag.view functionality built into Tealium. This view call requires it's own data. The call can look something like:

utag.view({"page_type":"product","product_name":["my cool product"]});

You can read more about view and link calls here:
utag.link() and utag.view()


Brian
http://www.cvent.com/events/tealium-university-atlanta-fall-2015/event-summary-a9e7641fd7dc4da99c7fd...