Show Menu
TOPICS×

s.cookieDomain

The variable determines the domain on which the Analytics cookies s_cc and s_sq are set.
Commonly, s.cookieDomainPeriods is used to generate s.cookieDomain from window.location.hostname . Instead of using s.cookieDomainPeriods , you can explicitly set s.cookieDomain to what you want to use in your implementation. For example, you could set cookies at the fully qualified page-name using:
s.cookieDomain = window.location.hostname;