Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Changing s_cc cookie domain

denniscextron
Level 1
Level 1

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.

0 Replies