Cookies
Cookie Policy
This Cookie Policy explains the cookies and similar technologies Leara uses on public pages and inside the app.
Last updated August 31, 2026
1. What Cookies Are
Cookies are small files stored by your browser. Similar technologies can include local storage, pixels, and identifiers used to remember preferences, keep a session secure, or measure site usage.
2. How Leara Uses Cookies
| Type | Purpose | Consent |
|---|---|---|
| Strictly necessary | Authentication, security, session continuity, fraud prevention, and remembering your cookie preference. | Required to provide the site or app. These are not optional. |
| Analytics | Understanding traffic on public pages, which pages are useful, and where the product story needs improvement. | Optional. Loaded only after you click Accept cookies. |
3. Strictly Necessary Cookies
These cookies and local storage entries keep Leara functional and secure. Names may vary depending on environment and deployment.
| Name or example | Purpose | Typical duration |
|---|---|---|
| leara_cookie_consent | Stores whether you accepted or declined optional cookies. It contains a generic choice, not a unique user profile. | 180 days. |
| authjs.session-token or __Secure-authjs.session-token | Keeps you signed in and protects authenticated routes. | Session or account session duration. |
| leara_2fa_session | Stores a short-lived signed verification that this browser completed two-factor authentication for the signed-in account. | Up to 12 hours. |
| authjs.csrf-token | Helps protect sign-in and account actions from cross-site request forgery. | Session or short-lived security duration. |
| authjs.callback-url | Remembers where to return you after sign-in. | Session or short-lived navigation duration. |
4. Optional Analytics Cookies
Leara uses Google Analytics on public pages only after consent is accepted. We do not use Google Analytics for advertising personalization in the current implementation.
| Name or example | Provider | Purpose |
|---|---|---|
| _ga | Google Analytics | Distinguishes visits and helps measure aggregate site usage after consent. |
| _ga_<measurement-id> | Google Analytics | Stores GA4 session and measurement information after consent. |
5. Managing Your Choice
- Use the Cookie settings button on public pages to accept or decline optional cookies.
- If you decline, Leara does not load Google Analytics and removes common Google Analytics cookies for this site.
- You can also block or delete cookies through your browser settings.
6. Browser Signals
Leara does not currently respond to browser "Do Not Track" signals because there is no consistent industry standard for them. We do honor the cookie choice you make in the Leara cookie banner.
7. More Information
Google explains that the analytics_storageconsent setting controls storage such as cookies related to analytics. You can read more in Google's consent mode reference.
Questions about cookies can be sent to privacy@leara.dev.