SpellRack uses cookies, sessionStorage, and localStorage to keep you logged in, secure your sign-in flow, remember your UI preferences, and measure how the product is used. We do not use cookies for cross-site advertising. We do not sell your data.
This page is the authoritative list of the cookies and browser storage SpellRack uses; the Privacy Policy §5 points here.
Cookies we set
auth_session — Lucia session cookie. Essential: required for login. HttpOnly, Secure, SameSite=Lax. Lifespan: rolling 30-day session.
discord_oauth_state / discord_oauth_verifier / discord_oauth_source / discord_oauth_redirect — OAuth CSRF + PKCE values and where to send you back after sign-in for the Discord sign-in flow. Essential: prevents OAuth replay attacks. Transient — set when you click "Sign in with Discord", cleared on completion or after ~10 minutes.
cc_consent — remembers whether you accepted or declined non-essential cookies. Essential: stores the consent preference itself so we don't re-ask on every visit.
spellrack_attribution — first-touch UTM parameters (source, medium, campaign) so we know which marketing channels work. No personal data. Lifespan: 30 days.
sr_ref — the referral code from a ?ref= link. Set only when the link carries a real SpellRack referral code, checked again when you sign up, and replaced by a newer referral link. Other ?ref= values (for example from our Discord bot) are only noted as the traffic source in spellrack_attribution. HttpOnly. Lifespan: 30 days.
sr_gpc — set only when your browser sends a Global Privacy Control signal, so we honor it on every page. Essential. HttpOnly. Lifespan: 30 days.
sr_design_preview — set only for SpellRack staff accounts that choose to preview the new site design. It remembers that choice for the visit. Functional. Never set for other visitors. HttpOnly. Lifespan: until you close the browser.
feedback_fab_dismissed — sessionStorage entry that remembers you closed the floating feedback button this session. Cleared when you close the browser tab.
Browser storage (localStorage / sessionStorage)
These stay in your browser and are never used for advertising. Clearing site data removes them.
Preferences: theme and playmat layout, scanner foil / set-lock choices, list filters, sound settings.
Your ZIP code for nearby-store search, if you enter one. It is sent to us only with the search that uses it.
Convenience state: recently viewed cards and pages, playtest and life-tracker state, deck-generator results, a once-per-session store-view marker.
Dismissed notices: banners and prompts you closed, so they stay closed.
Third-party cookies
PostHog (ph_*): product analytics — page views, feature usage, error tracking. Hosted in PostHog's USA cloud; set only after consent (consent-gated in EU/UK — decline anytime via the banner or footer link). No cross-site tracking, no advertising integrations.
Stripe (__stripe_*): fraud prevention and payment processing. Set only on /upgrade and Stripe Checkout pages, not site-wide. Required by Stripe to protect your transaction.
Cloudflare (__cf_bm / cf_clearance): CDN bot detection and security challenge cookies that block malicious traffic. Essential to keeping the site online.
TCGplayer affiliate attribution: outbound "buy" links pass through partner.tcgplayer.com, which sets a 1×1 attribution pixel so qualifying purchases credit SpellRack a commission (see the Privacy Policy §10 affiliate disclosure). Only fires when you click a TCGplayer link.
We do not embed Google Analytics, Facebook Pixel, ad-network tags, or any third-party advertising cookies beyond those listed above.
EU users — GDPR data rights
If you're in the EU, UK, or any jurisdiction with similar data-protection law, you have the right to access, correct, port, or delete your personal data, and to withdraw consent for any non-essential cookies. Exercise those rights through our Privacy Policy → Your data rights or by emailing [email protected].
How to disable cookies
Most browsers let you block all cookies, block third-party cookies, or clear cookies on demand:
Heads up: the auth_session cookie is essential. Disabling it (or blocking SpellRack's cookies entirely) will prevent login. Stripe cookies are required to complete a checkout — block them and the upgrade flow won't work.
Changes to this policy
We'll update this page when we add, remove, or change a cookie. Material changes get an in-app banner. The "Last updated" date at the top reflects the most recent revision.