Cookie and Local Storage Policy
September 9, 2026 · September 9, 2026
This page describes the cookies, local storage and measurement integrations actually used by Lunidex.
Optional measurement integrations initialize with collection disabled and capture no data before you choose. You can change or withdraw your choice at any time.
1. Necessary and optional elements
| Element | Purpose | Indicative lifetime |
|---|---|---|
| primedex-lang | Remember the selected language | 1 year |
| primedex-consent-v2 | Remember measurement choices | Until changed or deleted |
| primedex-product-measurement-consent | Let the server respect the PostHog choice | 1 year or until withdrawn |
| Neon Auth cookies | Maintain the account session | According to Neon Auth configuration |
| Sentry error monitoring | Technical error and availability monitoring | According to Sentry retention settings |
| Vercel Web Analytics, Speed Insights and Sentry performance/replay | Audience and performance measurement after consent | After consent, according to provider settings |
| Neon and PostHog product measurement | TCG counters, pageviews, explicit events, errors and performance after consent | According to provider settings |
2. Local storage
localStorage and sessionStorage are used for consent, session markers and technical application state. IndexedDB may contain a cache of public Pokémon and TCG responses. Local storage is not described as the durable location for your synchronized personal workspace.
3. Optional measurement
Vercel Web Analytics, Speed Insights and Sentry browser tracing or Session Replay load only if you grant the audience and performance choice. Replay masks text and inputs, blocks marked areas, and excludes network bodies and headers. The PostHog SDK is initialized opted out and sends no data before consent. Neon receives limited, aggregated TCG product measurement, and PostHog receives normalized pageviews, explicit events, limited errors and performance data if you grant the separate product measurement choice. PostHog then uses a consent-gated persistent technical identity for anonymous → account continuity; it does not receive the email or name, and it resets on logout. Replay is sampled and privacy-marked UI is blocked. Neither choice is required for public pages.
4. Managing choices
Use the Manage preferences button in the footer, or clear site data in your browser. Clearing storage may remove local preferences and close your session; synchronized data remains associated with the account according to the configured service.
5. Contact
For questions about this policy, email contact@lunidex.app.
Measurement
With your choices, Vercel Web Analytics and Speed Insights measure audience and performance. Optional Neon and PostHog product measurement sends predefined TCG events, normalized page views, and limited error/performance context. An authenticated technical account ID may continue an anonymous PostHog session; email, names and secrets are excluded. Replay is consent-gated, sampled and masked. You can withdraw at any time.
This legal document is primarily drafted in French and English. The French version prevails in case of discrepancy, subject to the mandatory provisions of your country of residence.
