utag_main cookie session data, when are they re-initialized?

Tealium Expert
Tealium Expert
We need to do some calculation of time spent on a site, and also number of pages visited; both in the session scope. But, closing the brower tab or closing the browser does not seem to re-initiate those values when the site is re-visited in a new session. The values we use are the _ses_id and the _pn values, but they really need to start from zero for every new session. Under which conditions are these zeroed in the utag cookie?
1 REPLY 1

utag_main cookie session data, when are they re-initialized?

Employee Emeritus

Hi Per, A session will end if no activity is detected for 30 mins. Closing the browser alone will not end the session. This article here https://community.tealiumiq.com/t5/Tealium-iQ/Tealium-Cookies/ta-p/138 discusses Tealium cookies in detail. More information about setting a cookie can be found in the comments at the end of the article. Let us know if you need more help. Thanks.

Public