- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Is there a way to restrict cookies to the current domain? With cookies I mean anything that gets set by the profile such as utag_main as well as those from tags like Webtrends, Doubleclick, GA.
By default, cookies are set to *.domain.xy What we would like to achieve is that cookies are restricted to www.domain.xy if the user is on that hostname. If the user is on sub.domain.xy, cookies would only be set to sub.domain.xy.
I hope this makes sense.
04-15-2016 11:46 AM
@jmbolfing This not possible without custom coding and then that would also require some testing to make sure it works as expected. I would encourage thinking about the question to see if there is another way to solve the issue at hand. Feel free to reach out to your Tealium Account Manager to have a Solutions Engineer come up with a custom solution for you.
04-24-2016 06:30 AM - last edited on 04-25-2016 10:47 AM by kathleen_jo
Thanks so far @brian_kranson. But is there no way to limit the scope of cookies in the "Publish Settings"? There is a field for "Domain". Wouldn't that be an option?
12-14-2018 08:25 AM
I do have the same question in fact :). The impact is that all our applications (in the company) have the same domain (.domain.xy) and the cookie is sent to other apps even if they didn't ask it.
I tried to add a js code to update the config like mentioned here and to force the domain to the whole hostname (global.utag_cfg_ovrd.dom_complete = true;) but it does not work. Any idea?
Thks a lot for your help
(Version utag.loader ut4.0.201812141608)
Copyright All Rights Reserved © 2008-2023