# Cookies

> Every cookie Just Piste sets — essential, functional and analytics — what each one does, how long it lasts, and how to change your analytics choice at any time.

Canonical: https://www.justpiste.com/cookies · Updated: 2026-09-17T02:49:16.999Z · Source: Just Piste

## Overview

A cookie is a small file a website stores in your browser. Just Piste sets as few as possible, and none for advertising or marketing. The table below is generated from the same list of cookies the code actually sets, so it can never fall out of step with what your browser receives.

## Changing your choice

Analytics is opt-in: nothing beyond the strictly necessary cookies below loads until you accept the banner. You can change your mind at any time from the "Cookie settings" link in the footer of every page, which clears your previous choice and shows the banner again.

## No third-party cookies before consent

No cookie from a third party — including Google Analytics — is ever set before you accept it. Declining sets no analytics cookie at all; only the essential ones needed to remember your units preference and your decision itself are set regardless.

Full detail on what we do with the data these cookies enable is in the [privacy policy](/privacy).

## Every cookie we set

| Cookie | Category | Duration | What it does |
| --- | --- | --- | --- |
| consent | essential | 1 year | Remembers your analytics choice (accepted or declined) so the banner does not reappear on every page. |
| authjs.session-token | essential | Session (30 days while you stay signed in) | Keeps you signed in once you use a magic link. Only set for a signed-in reader. |
| authjs.csrf-token | essential | Session | Protects the sign-in form against cross-site request forgery. |
| authjs.callback-url | essential | Session | Remembers where to return you after you sign in. |
| units | functional | 1 year | Remembers whether you prefer metric or imperial measurements. |
| _ga | analytics | 2 years | Google Analytics: distinguishes visitors. Set only after you accept analytics. |
| _ga_* | analytics | 2 years | Google Analytics: persists session state for this property. Set only after you accept analytics. |
