---
sourceDocument: Yokohama Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/now-intelligence

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# User Experience Analytics client-side storage cookies

# User Experience Analytics client-side storage cookies {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of User Experience Analytics client-side storage cookies

User Experience Analytics leverages the SNAnalytics JavaScript SDK embedded in Platform Analytics, Core UI, and the Service Portal to track client-side user activity.
This SDK uses both session storage and local storage to capture and maintain the data needed for analytics tracking during user interactions.
Show full answer Show less  

## Session Storage

Session storage temporarily holds data to maintain continuity between page refreshes and navigations within a single browser tab. It is cleared once the tab is closed. Key session storage items include:

* **srt:** Timestamp of the last successful communication with the analytics server.
* **data:** Queue of analytics data points awaiting periodic transmission to the backend.
* **page:** Automatically captured current page name.
* **tab:** Unique identifier for the active browser tab.

## Local Storage

Local storage preserves tracking consent, user identification (hashed), and browser identifiers persistently until the user clears their browser data. Key local storage items include:

* **browser:** Unique identifier generated for the browser.
* **client:** Server-assigned ID linked to the browser identifier.
* **user:** Hashed user ID provided by the customer.
* **consent:** Boolean value indicating user consent status for tracking.

To remove local storage data, users must clear their browsing data through their browser settings.

## Data Storage and Security

Collected data is encrypted at rest and stored in ServiceNow's multitenant repositories strategically located in AMS (Canada), EMEA (Germany), or APAC (Japan), based on geographic proximity. Data is anonymized prior to storage and automatically deleted after two years. For the Yokohama release, a backup copy is also maintained in Canada using the previous architecture.  
To track client-side user activity, User Experience Analytics uses the SNAnalytics JavaScript SDK that is embedded in Platform Analytics, Core UI, and the Service Portal.
The SNAnalytics SDK uses a combination of session storage and local storage variables to keep track of the information required to facilitate the analytics tracking.

For more information on session storage and local storage, refer to the [JavaScript.Info](https://javascript.info/localstorage) documentation.

For more information on SNAnalytics SDK, see [SNAnalytics - Client](https://www.servicenow.com/docs/access?context=SNAnalyticsClientAPI&version=yokohama&pubname=yokohama-api-reference&ft:locale=en-US)  and [SNAnalytics ](https://developer.servicenow.com/dev.do#!/reference/api/xanadu/client/SNAnalyticsClientAPI)-- in the Developer community.

## Key structure {#uxa-tracked-client-cookies__section_nzy_fwb_gyb}

All locally stored keys are stored using the following structure: `sn:{API_KEY}:{KEY NAME}`

Each tracked portal has a unique API_KEY that is stored on the instance. For example, for the portal with an API key `abcd` and a key name `tab`, the local key value would be:
`sn:abc:tab`

## Session storage {#uxa-tracked-client-cookies__section_jtk_3wb_gyb}

Session storage is used to maintain the flow of information between web page refreshes and user navigations. Information in session storage is transient and kept available only during the lifespan of the current tab. When a tab is
closed, the session storage information is removed.  
The table lists the keys and values stored on session storage.{#uxa-tracked-client-cookies__table_fvp_mwb_gyb__entry__2}

| Key | Description |
|-|-|
| srt | Server Response Time. The last time SNAnalytics successfully communicated with the User Experience Analytics server. |
| data | Queue of temporary stored analytics data points, which is periodically flushed to the backend. |
| page | The name of the current page, automatically captured by the User Experience Analytics server. |
| tab | Randomly generated unique identifier for the current tab. |
[ ]

{#uxa-tracked-client-cookies__table_fvp_mwb_gyb}

## Local storage {#uxa-tracked-client-cookies__section_rfv_pwb_gyb}

Local storage is used to maintain tracking consent information, hashed identification of the user (which is cleared when consent is revoked), and randomly generated identifiers for the browser. Local storage variables are
persistent locally and are deleted when the user clears their browsing data.  
The table lists the keys and values stored on local storage.{#uxa-tracked-client-cookies__table_bnp_5wb_gyb__entry__2}

| Key | Description |
|-|-|
| browser | Randomly generated unique identifier for the current browser. |
| client | The server assigned ID mapped to the browser key value. |
| user | Hashed user id, supplied by the customer. |
| consent | A boolean (yes/no) value that indicates whether the user consents to be tracked. |
[ ]

{#uxa-tracked-client-cookies__table_bnp_5wb_gyb}

## Deleting local storage {#uxa-tracked-client-cookies__section_erb_xwb_gyb}

To delete local storage variables, the user must clear the browsing data from within their browser. For example, in the Chrome browser, select HistoryShow Full HistoryClear browsing data. In the Clear browsing data window, select Cookies and other site data and then select Clear data.  

## Data storage {#uxa-tracked-client-cookies__uxa_data_storage_yokohama}

Data is encrypted at rest. It's stored in a central ServiceNow® multitenant repository closest to you, in either AMS (Canada), EMEA (Germany), or APAC (Japan).

Data is anonymized before it's sent to storage, and deleted at the database level after a retention
period of two years.

For the Yokohama release, an additional backup copy is stored in a central repository in Canada using the pre-Yokohama architecture.

*[\>]: and then


