Skip to main content

What data is stored in the visitor's browser?

Local storage

Lyftio stores a visitor object (lio_user) in the browser’s localStorage to manage experiment data. This object contains the following information:

_country → fetched on load.
_countryUpdatedAt → Timestamp used for refreshing country.
_experiments → Identifies which experiment and variation the visitor is assigned to.
_id → A persistent visitor identifier (UUID).
_lastActivity → Timestamp used for session tracking.
_referrer → Records how the visitor arrived on the site (e.g., direct visit, campaign link).
_sessionId → A unique ID for tracking the current session.

Session storage

Lyftio also stores temporary data in session storage

lio_dl_events → List of experiments pushed to dataLayer
lio_orders → List of orders already pushed by revenue callback