Highlighted

I want to be able to record the Tealium session ID into our analytics tools. What is the best recommendation to accomplish this and get this visible in our data layer?

Silver Contributor
Silver Contributor
 
6 REPLIES 6
Highlighted

I want to be able to record the Tealium session ID into our analytics tools. What is the best recommendation to accomplish this and get this visible in our data layer?

Employee Emeritus
Hey Joe, If you are on utag.js 4.25 or greater, you can create a data source titled 'utag_main_ses_id'. This is the Tealium session ID, and you can map it to any destination in your analytics tool.
Highlighted

I want to be able to record the Tealium session ID into our analytics tools. What is the best recommendation to accomplish this and get this visible in our data layer?

Silver Contributor
Silver Contributor
what type of data source js, udo, cp...?
Highlighted

I want to be able to record the Tealium session ID into our analytics tools. What is the best recommendation to accomplish this and get this visible in our data layer?

Employee Emeritus
Hi Joe; it is of type Cookie Parameter as it is part of the utag_main cookie, and ses_id is one of those key/value pairs
Highlighted

I want to be able to record the Tealium session ID into our analytics tools. What is the best recommendation to accomplish this and get this visible in our data layer?

Employee Emeritus
Sorry about that, it's a cookie (cp).
Highlighted

I want to be able to record the Tealium session ID into our analytics tools. What is the best recommendation to accomplish this and get this visible in our data layer?

Tealium Employee
Joe, I would recommend sending the Visitor ID. If you wish to send a session-specific ID, I would recommend sending both the Visitor ID and the session ID together (either as separate data points or concatenated as a single value.) Let me know if you have questions around concatenating these (I can provide sample code.) The available cookies are documented here: https://community.tealiumiq.com/series/10724/posts/810629 https://community.tealiumiq.com/series/10724/posts/726815
Highlighted

I want to be able to record the Tealium session ID into our analytics tools. What is the best recommendation to accomplish this and get this visible in our data layer?

Employee Emeritus
Right. So it depends on your use case. utag_main_vid (visitor ID) is how we uniquely identify users. utag_main_ses_id is a timestamp that identifies the session, but two (or more) users could theoretically have that same time stamp. That's why Ty recommends you use both. If your tool is correlating a pre-existing visitor ID with this session ID, it should be okay, but if it's expecting a unique value, you will want to join these two values or it might see two users with the same ses_id as being the same person.