Skip to main content

Cookies & storage

Client Side Cookies

NameLifetimeDescriptionIs flag secureIs flag SameSiteIf deleted
pa_vid13 months by default, can be configuredVisitor IDSameSite=laxNew cookie set, new visitor ID assigned
pa_user13 months by default, can be configuredStored user informationSameSite=laxNo persistence of user information information in events
pa_privacy13 months by default, can be configuredPrivacy Mode persistenceSameSite=laxNo persistence of Privacy Mode, privacyDefaultMode configuration assigned

Server Side Cookies

NameLifetimeDescriptionIs flag secureIs flag SameSiteIf deleted
idrxvr13 monthsLegacy Server Side Visitor IDNew cookie set, new visitor ID assigned
atidx13 monthsSecured Server Side Visitor IDNew cookie set, new visitor ID assigned
atid13 monthsMain Server Side Visitor IDSameSite=noneNew cookie set, new visitor ID assigned

Piano Analytics Mobile SDKs

Storage keyLifetimeDescription
pa_vid13 months by default, can be configuredVisitor ID
pa_uid13 months by default, can be configuredStored user information
pa_privacy13 months by default, can be configuredPrivacy Mode persistence
pa_crashUntil app relaunchCrash information
pa_lifecycleNo expirationApplication lifecycle

If you're migrating from SmartTag SDKs to Piano Analytics SDKs, we still use the atuserid cookie (visitor identification) so as not to cause a break in the detection of the visitor. As soon as this atuserid cookie is deleted, we replace it with pa_vid cookie.

The atauthority cookie (Privacy) is not used anymore. Please implement Privacy methods to deposit the new pa_privacy cookie instead.

Same applies for legacy atidvisitor cookie ("identified visitor" detection, now "user"). Please implement Users methods to deposit the new pa_user cookie instead.