--- title: "Analytics Cookies" slug: "analytics-cookies" updated: 2026-11-23T12:30:11Z published: 2026-11-23T12:30:11Z canonical: "support.gainsight.com/analytics-cookies" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Analytics Cookies This article explains the Gainsight PX cookies used to store IDs for users. ## Gainsight PX Cookies Gainsight PX uses cookies to store a visitor ID for authenticated users. **Cookie Name: apt.uid** | **Attribute** | **Description** | | --- | --- | | Information Stored | UUID associated with the user | | Expiration | 1 year | | Usage | The purpose of this cookie is to allow persistent ID tracking under the top-level domain of the product and is used as a reference ID to the user entity. | | Location | Cookie is stored on your domain, unless *fullDomainCookie* is set to true, in which case it is stored on the full domain for the current application. For more information, refer to the [*Javascript SDK Configuration*](/v1/docs/javascript-sdk-configuration) article. | | Size | 51 bytes | **Cookie Name: apt.sid** | **Attribute** | **Description** | | --- | --- | | Information Stored | UUID associated with the user session | | Expiration | 30 minutes of inactivity | | Usage | The purpose of this cookie is to allow persistent session ID tracking under the top-level domain of the product and is used as a reference ID to the active session. | | Location | Cookie is stored on your domain, unless *fullDomainCookie* is set to true, in which case it is stored on the full domain for the current application. For more information, refer to the [*Javascript SDK Configuration*](/v1/docs/javascript-sdk-configuration) article. | | Size | 47 bytes | | | | **Note**: By default, Gainsight PX stores your cookies data in your browser. To save the cookies data in your local storage instead of the browser, set *localStorageCookie* to *true* in the Gainsight PX Tag as follows: ![Installe PX_PX Tag_Cookie Storage.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Installe_PX_PX_Tag_Cookie_Storage.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A23%3A09Z&se=2026-11-24T18%3A23%3A09Z&sr=b&sp=r&sig=7WQH87LggI3qdY7MIXQet32hrrjex3C2z6p9lsHZFEI%3D)