mParticle’s web SDK stores certain data points in persistence in order to retain user and session data in between page loads. These data points are sent to the mParticle server whenever an action is logged.
true in the SDK configuration. See our Advanced Setup instructions.
An important exception is the
cartProducts array, which stores details of products in the customer cart. This is always kept in
localStorage, even if
true, since a large number of items in a cart could otherwise impact cookie size.
The following data points are kept in persistence. To save space, keys will only be stored if there is a non-null value.
|The ID of the current session
|Boolean for if mParticle should log data or not
|Attributes for the current session
|Attributes for the current user
|Identities for the current user
|Server settings to be sent to mParticle with each logging attempt
|mParticle unique identifier
|A unique identifier mParticle uses to generate the MPID
|A unique identifier for the browser being used
|Products in the customer cart - this is always stored in
|Time of the last logged event
|Contains times of last cookie sync
Was this page helpful?