February 1, 2014
Tealium Universal Tag (utag.js)
- Introduces support for AudienceStream Data Layer Enrichment. This requires AudienceStream and the DataCloud Tag.
- The
utag.js
reads Meta tags with everyutag.view
call in order to capture dynamic Meta tags. - There are several changes to the
utag_main
cookie:-
The
utag_main
cookie’s lifespan is now set to 1 year to conform to EU laws. -
The session ID (
ses_id
) value in theutag_main
cookie is now a timestamp that is used to compute a visitor’s time on your website.To reference this value, use the following syntax:
b["cp.utag_main_ses_id"]
-
Introduces the session number value in the
utag_main
cookie.To reference this value, use the following syntax:
b["cp.utag_main__sn"]
-
Introduces the page number value, which increments every time
utag.js
loads, essentially with each new URL load. This is not to be confused with an Event Counter. This value starts over at 1 with each new session.To reference this value, use the following syntax:
b["cp.utag_main__pn"]
-
Known issue: The page number (
_pn
) and session number (_sn
) values are set to NaN whenever a visitor visits a website in which theutag_main
session cookies was already set by a version ofutag.js
prior to 4.27. This issue is resolved inutag.js
version 4.28.
-
- Introduces the utag.ut.flatten function, which flattens objects. This is primarily used with Data Layer Enrichment for AudienceStream.