Search code examples
sitecoresitecore6sitecore-dms

Difference between analytical cookies in Sitecore


Sorry if this has been done to death my stackoverflow-fu may have failed me, and Google hasn't been much help either.

I'm just looking for a high level explanation of the differences between the two Sitecore cookies:

SC_ANALYTICS_GLOBAL_COOKIE
SC_ANALYTICS_SESSION_COOKIE

I'm interested what types of information stored against them


Solution

  • According to Sitecore CMS 6.5 & DMS 2.0 Engagement Analytics Configuration Reference Guide

    SC_ANALYTICS_GLOBAL_COOKIE: To identify repeat visits from a single user, Sitecore sends a persistent session cookie to the web client. The name of the persistent session cookie is SC_ANALYTICS_GLOBAL_COOKIE. The persistent session cookie expires one year after the last page requested from the solution by the web client.

    SC_ANALYTICS_SESSION_COOKIE: To identify a sequence of HTTP requests from a single user, Sitecore sends an Engagement Analytics session cookie to the web client. The name of the session cookie is SC_ANALYTICS_SESSION_COOKIE. The value of the analytics session cookie before the first pipe character ("|") matches a value in the VisitId column of the Visits table to identify an analytics visit record in the Analytics database. This cookie expires when the user closes the Web client.