I have a cart which triggers a manual view call. I placed a break point in utag.js to debug this and below is the result in console.
When automatic view call happens and breakpoing is hit, the console shows below
utag_data == b
I let the flow continue and then make a manual view call in console
breakpoint hits again and below is the result false.
utag_data == b
Though b has all the variable values of utag_data any change to utag_data through an extension does not change b object anymore.
Any thoughts why b object is out of sync once a manual calll is made and how can it be fixed?
The first question, is which version of utag.js are you using? As this will determine the expected behaviour.
In the latest version of utag a view/link will do the following steps:
Merge in any default values that have been set (In the publish settings)
- 1st Party Cookies
- Query String Parameters
- Meta Data
- DOM properties
- ut Values (Tealium variables)
- JS Page Variables
- Any Tealium Collect Visitor Attributes
This stops cross data object pollution. So that the object you pass in will only be what you passed in, and the data points that we collect, from the page.
In previous versions, we did have to merge the object passed in with utag.data (which is a reference to utag_data) for the loadrules. But with the release of utag v4.40, this has been stopped.
Your best bet is to raise a support ticket so that an engineer can walk through with you the what is happening, and more importantly why.
05-26-2016 12:22 PM - last edited on 05-26-2016 03:45 PM by kathleen_jo