Web SDK cookies & data privacy

Information about how the Xtremepush web SDK stores data

The Xtremepush web SDK needs to persist information between different page views and sessions to allow a single device to be identified consistently. This is done by creating a localStorage entry in the browser (named xtremepush.data) which keeps information about the device.

During the first page load for a new website user (i.e. when the localStorage entry does not exist), an API request will be send to Xtremepush server to register the device.

In the following page loads (i.e. when the localStorage entry is present), an API request will only be sent if some of the website user's information is changed, such as browser language.

Xtremepush may also use set some cookies, either in response to one of the above API requests, or directly from the JavaScript SDK.

Cookie details

Cookie name

Type

Purpose

Duration

_xpid_[project_number]

Targeting and analytics

Required for the provision of web push in Safari devices.
Set from SDK API requests, to include the unique device identifier in web push requests. (HttpOnly)

180 days

_xpid

Targeting and analytics

Set and read directly from the JavaScript SDK, only if the SDK cross-domain option is enabled, to identify a device across multiple sub-domains.

180 days

_xpkey

Targeting and analytics

Set and read directly from the JavaScript SDK, only if the SDK cross-domain option is enabled, to identify a device across multiple sub-domains.

180 days

Updated 6 months ago


Web SDK cookies & data privacy


Information about how the Xtremepush web SDK stores data

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.