Cookies and browser storage
Storage used for sign-in, saved work and optional analytics.
Effective and updated: · Version: 2026-10-07.1
Necessary storage
better-auth.session_token (with __Secure- on HTTPS) authenticates sessions for up to 7 days. NEXT_LOCALE remembers language. The theme preference uses localStorage. PrepKit stores anonymous search and practice drafts in prepkit.anon.v1.* for 7 days, guest favorites/progress in prepkit:guest-state, used-link fingerprints in prepkit.signIn.consumed, submission drafts in prepkit:submission-draft:v1 and private status links in prepkit:submissions:v1. Persistent entries without an expiry remain until cleared. During GitHub or Google sign-in, better-auth.state (with __Secure- on HTTPS) holds a signed sign-in state for up to 5 minutes. pk-sidebar-collapsed (a cookie and a localStorage entry, kept for 1 year) remembers whether the member sidebar is collapsed.
Tab storage and provider keys
sessionStorage holds sign-in email, submission email, correction drafts, staff editor drafts and key-free practice recovery data (prepkit.practice.*). Closing a tab normally ends this storage; browser session restoration can retain it. The provider key stays in page memory by default. If you turn on Keep my key for this tab, prepkit.byok.tab holds your member ID and the key, so a refresh keeps it. While Connect with OpenRouter is in progress, prepkit.byok.pkce holds a one-time verifier, a state value, your member ID, your keep choice and a timestamp; it is removed when OpenRouter sends you back with a code. Signing out removes both entries, and PrepKit also removes them when it detects that your session has ended. Pressing Clear key or turning the option off removes the kept key. Any script running on the page can read sessionStorage. The provider key is never stored in cookies or localStorage. Clearing browser storage does not delete your server account.
Optional analytics
qs:consent:analytics in localStorage records your choice. Only after consent, prepkit:analytics:journey, prepkit:analytics:attribution and prepkit:analytics:landed use sessionStorage for a per-tab journey, channel, campaign and referrer host. Full referrer URLs and interview text are excluded. Global Privacy Control keeps analytics off. Use the preferences control here or in the footer to withdraw consent. If the operator enables Google Analytics, consent also loads Google's gtag.js, which sets the _ga and _ga_<property-id> cookies for up to two years. Google receives page paths without query strings; Google signals and ad personalization are off. Withdrawing consent stops further hits, but existing cookies stay until you clear them or they expire.
Usage statistics
Anonymous, first-party statistics about which pages and steps people use. No email, API key, interview text or search text is recorded.