- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
10-25-2016 08:58 AM
Hello,
I am trying to create a cookie (or separate parameter within utag_main) for the Tealium Session ID (ses_id). I would like to output the following into a cookie:
{
....
"ses_id":"3209424834"
....
},
NOTE: 3209424834 is an example value of the ses_id, which should be dynamic to each session.
Currently, ses_id is output into utag_main cookie in a consolidated format under the "value" parameter. I want to create a separate parameter for the ses_id so that it can be easily consumed by external systems.
Thank you for any help.
Solved! Go to Solution.
10-25-2016 01:18 PM - edited 10-25-2016 03:58 PM
I am not sure I understand your question, the utag_main session id is accessible through the data layer and you can simply create a variable in the data sources tab like so:
Or, if you wanted this cookie outside of Tealium, you could use Javascript to extract the cookie on your site. Another option is to use a Tealium Javascript Code extension to create a seperate cookie with the value:
11-02-2016 06:45 AM
@christina_schel Thank you for your help. The custom Java extension is what I was looking for and works great.
Copyright All Rights Reserved © 2008-2023