For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cookies and tracking transparency

Every cookie and local storage item the Userlane product sets, and the opt-out implementation.

Userlane sets a small number of cookies and one local storage item to maintain session state, remember UI preferences, and, when HEART analytics is enabled, track application sessions. This page covers the cookies set by the Userlane product: the portal and the Userlane content that runs inside your applications. Cookies on the Userlane marketing website are described in the website's Cookie Policy.

For how Userlane processes the data these cookies collect, see the data processing agreement.

Whether Userlane needs to appear in the organization's cookie policy or consent banner is the organization's own decision, usually made by its data protection officer. It typically depends on who the end users are: employees, the organization's own customers or partners, or private individuals using a consumer-facing application. The cookie table below provides the information needed for that assessment.

Userlane cookies are functional, not marketing or advertising cookies. They do not track users across third-party sites and are not used for profiling or ad targeting. If the organization's consent tool distinguishes essential cookies from functional cookies, Userlane sits under functional.

Cookies Userlane sets

The table below lists every cookie and local storage item that Userlane's embeddable frontend package may store on the end user's device.

Name
Type
Purpose
Duration
Required

userlane-context

Cookie

Stores the state of the Userlane UI and the current context (for example, which guide is active and at which step) so that a guide continues seamlessly when the user navigates between pages or domains. Also keeps the Editor open across page changes for content authors.

5 minutes

Yes

userlane-app-session

Cookie

Stores the analytics session so that application-level events can be aggregated and attributed correctly.

30 minutes

Only when HEART analytics is enabled

userlane-user

Cookie

Stores a randomly generated user ID so that the Assistant can show consistent progress (for example, which guides have been completed). Used only when no user ID is passed through the implementation.

5 years

Only when no user identifier is passed

userlane-assistant-context

Local storage

Stores the state of the Assistant, including its position on the screen if the user has moved it by dragging.

Indefinite

Yes

AUTH_SESSION_ID

Cookie (third-party, Keycloak)

Stores the authentication session ID during the portal login flow.

Session

Only for users with portal access

KEYCLOAK_IDENTITY

Cookie (third-party, Keycloak)

Stores a JSON Web Token (JWT) that verifies the user's identity and authorization roles after login.

Session

Only for users with portal access

KEYCLOAK_SESSION

Cookie (third-party, Keycloak)

Stores the session ID for an authenticated portal user so that Keycloak can determine whether the user is still logged in.

Session

Only for users with portal access

The three Keycloak cookies are set only for users who access the Userlane portal directly, such as content authors working in the Editor. End users who interact with Userlane only through the browser extension or the Assistant do not receive them.

Snippet only. The opt-out uses commands in the application's code, so it applies to snippet implementations. Cookie opt-out applies where end users must consent to cookies, usually on customer-facing applications. A user who opts out gets no Userlane at all, including content. Most business-to-business (B2B) deployments do not need this.

The opt-out works in two steps: gating initialization on consent, and removing Userlane if consent is revoked.

The Userlane('init', property_id) command starts Userlane on the page. Configure the consent logic so that this command fires only after the user has accepted functional cookies.

The ID in the command identifies the organization's Userlane application and is available in the Userlane portal.

If the user later changes their cookie preferences and declines functional cookies, call the remove command to withdraw Userlane from the page immediately.

The removeUserlane command is global and does not require an ID.

After calling removeUserlane, the organization's consent logic must also store the user's updated preference so that Userlane('init') is not called again on the next page load.

Relevant articles

Environment prerequisitesQuick reference of commandsAI features: what data is processed and whereEU Data Act: data categories and portability

FAQ

Does Userlane use marketing or advertising cookies?

No. Userlane cookies are functional. They maintain session state, remember UI preferences, and, when enabled, track application sessions for HEART. They do not track users across third-party sites and are not used for profiling or ad targeting.

What happens if a user opts out?

When the organization calls Userlane('removeUserlane'), Userlane is withdrawn from the page. No further cookies are set and no analytics events are recorded for that user until Userlane('init') is called again. The organization is responsible for storing the user's preference so that initialization does not fire again without renewed consent.

Last updated

Was this helpful?