- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
11-11-2020 03:27 AM
Hello,
Solved! Go to Solution.
11-12-2020 01:27 AM
If you are referring to the populateion of the utag_data object, then the answer is a yes but no.
On every page load, the tealium utag.js script is re-loaded. The properties exposed in utag_data, cannot be persisted via Tealium TiQ (which runs client side).
Now, the 'yes' comes in the form of, you can persist data across page loads using standard methods, such as cookies or browser storage.
However this is not normally recommeded and caution should be taken in determining if this is a solution in your use case.
If you do persist the the values via cookies or storage, note that a client side script (via TiQ) will need to be used (at least for storage certainly) ito pick up the values and pass them to utag.data
hope that helps
Gavin
11-12-2020 05:44 AM - edited 11-12-2020 05:45 AM
Since ours is a single page application, persisting data on utag.data can be a good solution, thanks.
11-13-2020 01:08 AM - edited 11-13-2020 01:09 AM
Hi, ah, that is clearer now.
What you may find useful is soem of these functions, in particualr the merge function
kr
Copyright All Rights Reserved © 2008-2023