• Not Answered

Share Analytics Cookie across domains and subdomains

How to share "SC_ANALYTICS_GLOBAL_COOKIE" cookie to different main domain and subdomains?

 

Eg. main domains : storefont.com, storefront2.com

      sub domains : x.storefront.com

 

Here by setting the below config,

 

<setting name="Analytics.CookieDomain" value=".storefront.com" />  in Sitecore.Analytics.Tracking.Config

 

able to share between storefront.com and x.storefront.com but not able to share between storefront.com and storefront2.com.

Here i want to share cookie across different domains?

Can anyone help on this?

1 Reply

  • I got into this same issue today... and looks like the fix were delete that setting to don't hardcode the domain for just one site... and until now (2 hours of testing) looks working fine for our 2 differentes domains.

    hope this solve your issue or someone else