Changing s_cc cookie domain

denniscextron

18-10-2018

Our website has a staging and live environments: stg.mysite.com and www.mysite.com. All of the Adobe Analytics related cookie domains for both environments show up as .mysite.com

I was able to change the domain for the AMCV cookie to www.mysite.com and stg.mysite.com following the instructions from this forum: https://forums.adobe.com/thread/2426375

However, this change has no effect on the other Adobe Analytics cookies. I would like to change the domain for s_cc, s_sq, gpv_pn, etc. cookies. According to this documentation: s.cookieDomain Adobe suggests adding s.cookieDomain = window.location.hostname;. I've added this under DTM > Adobe Analytics settings > Customize Page Code with no luck. I do not see the s.cookieDomain variable defined in the AppMeasurement library....so maybe that's why it doesn't work? Any help would be appreciated.

Accepted Solutions (0)

Answers (0)