Informasjonskapsler og lagring
Cookie & Storage Policy — Last updated: 11 April 2026
1. Oversikt / Overview
HjemVei uses cookies, localStorage, sessionStorage, and IndexedDB to provide a smooth learning experience. This policy explains each storage mechanism we use, what data is stored, and how you can manage it. For details on how we handle personal data more broadly, see our Privacy Policy.
2. Nodvendige informasjonskapsler / Essential Cookies
These cookies are required for the platform to function. They cannot be disabled without breaking core functionality.
| Name / Key | Storage | Purpose |
|---|---|---|
| next-auth.session-token | Cookie | Maintains your authenticated session after signing in with Google OAuth. |
| next-auth.csrf-token | Cookie | Protects against cross-site request forgery attacks during authentication. |
| next-auth.callback-url | Cookie | Stores the redirect URL after authentication completes. |
3. Funksjonell lagring / Functional Storage
These localStorage keys store your preferences and learning progress directly in your browser. They are never sent to our servers unless you have cloud sync enabled.
| Name / Key | Storage | Purpose |
|---|---|---|
| hjemvei-email | localStorage | Stores your email address from the subscribe modal for pre-filling forms. |
| hjemvei-xp | localStorage | Tracks your total experience points earned across all activities. |
| hjemvei-display-name | localStorage | Your chosen display name for leaderboards and profile. |
| hjemvei-session-count | localStorage | Counts how many sessions you have started (used for onboarding prompts). |
| bli-ekte-norsk-store | localStorage | Saves progress in the Bli Ekte Norsk cultural challenges. |
| Game state keys | localStorage | Various keys storing progress for Nordle, Bingo, Kryssord, and other games. |
| SRS data keys | localStorage | Spaced-repetition scheduling data for vocabulary and grammar flashcards. |
4. Analyse / Analytics
We use analytics to understand how learners use HjemVei so we can improve the platform. Analytics identifiers are anonymous and cannot be used to identify you personally.
| Name / Key | Storage | Purpose |
|---|---|---|
| analytics_visitor_id | localStorage | Anonymous visitor identifier for aggregating analytics across sessions. |
| analytics_session_id | sessionStorage | Temporary session identifier; cleared when you close the browser tab. |
Additionally, Vercel Analytics and Vercel Speed Insights collect anonymised performance and usage metrics. These are governed by Vercel's Analytics Privacy Policy.
5. IndexedDB
We use an IndexedDB database called NorskLabDB to store structured learning data locally in your browser. This provides fast, offline-capable access to your progress.
| Object Store | Contents |
|---|---|
| lessons | Lesson completion status and scores |
| exercises | Exercise attempts and results |
| srs_cards | Spaced-repetition card states, intervals, and review schedules |
| achievements | Unlocked badges and achievement timestamps |
| leaderboard | Cached leaderboard data for offline display |
IndexedDB data stays in your browser and is not transmitted to our servers unless you enable cloud sync.
6. Tredjeparts informasjonskapsler / Third-Party Cookies
Vercel may set its own cookies for analytics and performance monitoring. Google may set cookies during the OAuth sign-in flow. We do not use advertising cookies or tracking pixels from ad networks.
7. Samtykke / Consent Mechanism
When you first visit HjemVei, a cookie consent banner is displayed. You can choose to accept all cookies, accept only essential cookies, or customise your preferences. You can change your consent at any time through the settings page on the platform.
8. Administrere og slette / How to Manage & Delete
You have full control over the data stored in your browser:
- Browser settings: Clear cookies, localStorage, and IndexedDB through your browser's privacy/settings menu.
- HjemVei settings page: Use the Settings page to opt out of analytics or reset your local learning data.
- Account deletion: If you have a signed-in account, you can request full account deletion by emailing privacy@hjemvei.com.
Note: Clearing essential cookies will sign you out and may require re-authentication.
9. Kontakt oss / Contact
Questions about our cookie and storage practices? Get in touch: