Using utag.view() and mapping of custom containers

Gold Contributor
Gold Contributor
Dear, Our site is mix between tradition url based pages and single page applications. On the single page applications we use tealium.view() to trigger the tags. A thing we noticed that de mapping on the tags of our Custom Containers is not reexecuted and still containing old values. How can we achieve this, without going to window.utag_data. Kind regards Thomas Annerel
4 REPLIES 4

Using utag.view() and mapping of custom containers

Tealium Employee
Hi, First, can I clarify - do you mean you are using utag.view() ? Or have you got a custom written "tealium.view" function that calls the utag in a different way? Assuming you mean utag.view - if you are using UDO JS variables (rather than "jspage" variables) then they should be re-populated back into the data layer. If you are using "jspage" variables they are not currently re-populated back in, although we have work-arounds that resolve this - speak to your account manager, or raise a support case. Thanks Steve Lake
Connecting data systems since the 1980s.

Using utag.view() and mapping of custom containers

Gold Contributor
Gold Contributor
Thx I'm using utag.view() with UDO JS variables . The entire data object is empty. I will contact my account manager.

Using utag.view() and mapping of custom containers

Employee Emeritus

Hi Thomas, Try adding your variables under the publish settings base variables section and see if that works. Here is a link on how to access the publish settings. https://community.tealiumiq.com/t5/Tealium-iQ/Publish-Configurations/ta-p/13632 Under base variables add the data sources that you want passed and test again. Start with a few to see if it works and if not then we know that there is another issue.

Using utag.view() and mapping of custom containers

Gold Contributor
Gold Contributor
As a quick fix I changed my code to utag.view(window.utag_data) so that my tags work. No sure this is good solution, not sure all extensions are reexecuted. Will recheck after the weekend
Public