- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
I have created cookie type variable in tealium, how can I debug in console whether it is value is right or not?
Type: First Party Cookie
Solved! Go to Solution.
11-01-2022 01:32 AM
If you are trying to look for a cookie variable that you are setting in Tealium using an extension and then looking in the browser then you can type document.cookie in your browser console it will retrieve all the cookies set on this domain.
Or if you want to see it in a different way then you can use Tealium Web Companian and select the data>cookie, it will show all the cookies.
There are other ways also, please let me know if this is not what you are looking for.
11-01-2022 09:48 AM
@bindu_kumari The utag cookies can be difficult to read in Web Companion because they aren't separated into individual variables. I would use the UTAG Debugger. Just click the Cookies checkbox at the top and all cookies, even the
utag_main ones, will be listed separately.
11-01-2022 09:52 AM
@bindu_kumari To see the value in the console:
If you set a breakpoint in a utag function and are in the context of an extension or tag, then use the b object:
Copyright All Rights Reserved © 2008-2023