Cookie Policy
Last updated: 26 June 2026
1. What cookies are
Cookies are small text files that a website stores on your device. Some are essential for the site to function; others help us understand how the platform is used so we can improve it. This page explains which cookies Learn Romanian Hub uses and how you control them.
2. How we use cookies
We group cookies into two categories:
- Essential cookies are required to sign you in, keep your session secure, and process payments. They cannot be switched off and do not require consent.
- Analytics cookies (Google Analytics and PostHog) are only set after you opt in. We use them to measure aggregate, anonymous usage so we can improve our lessons. We do not use advertising cookies and we do not sell your data.
When you first visit, a banner lets you accept or reject analytics cookies. You can change your choice at any time via the “Cookie preferences” link in the site footer.
3. Cookies we use
| Name | Provider | Category | Purpose | Retention |
|---|---|---|---|---|
| sb-<project>-auth-token | Supabase | Essential | Keeps you signed in (authentication session). | Session / refresh-token lifetime |
| __stripe_mid | Stripe | Essential | Fraud prevention during checkout. | 1 year |
| __stripe_sid | Stripe | Essential | Fraud prevention during checkout. | 30 minutes |
| _ga | Google Analytics | Analytics (consent) | Distinguishes users for aggregate usage statistics. | 2 years |
| _ga_<container> | Google Analytics | Analytics (consent) | Persists GA4 session state. | 2 years |
| ph_<key>_posthog | PostHog (EU) | Analytics (consent) | First-party anonymous product analytics. | 1 year |
4. Managing your consent
You can accept or reject analytics cookies in the consent banner, and re-open it any time from the “Cookie preferences” link in the footer. Essential cookies cannot be disabled, as the service would not work without them.
Withdrawing consent stops further analytics tracking. Cookies that were already set (for example _ga or ph_…) can be removed through your browser's cookie settings. Most browsers also let you block or delete cookies entirely, though blocking essential cookies may prevent you from signing in.
5. Local and session storage
For transparency, we also use your browser's local and session storage. These are not cookies and are not sent to our servers — they stay on your device to remember preferences and support offline use.
| Key | Store | Purpose |
|---|---|---|
| lrh-theme | localStorage | Remembers your light/dark theme preference. |
| lrh-cookie-consent | localStorage | Stores your cookie consent choice. |
| lrh-install-prompt | localStorage | Throttles the “Add to Home Screen” prompt. |
| srs-rating-queue | localStorage | Buffers spaced-repetition ratings while you are offline. |
| app-auth-redirect | sessionStorage | Returns you to the right page after signing in. |
6. Changes to this policy
We may update this Cookie Policy as the platform evolves. The “last updated” date at the top reflects the most recent revision. For how we handle personal data more broadly, see our Privacy Policy.