1. Storage for requested features
The following first-party storage supports signing in, preserving your work, requested reading continuity and chosen display preferences. It is treated as necessary for those requested functions under the Polish electronic-communications storage exception, rather than enabled by accepting optional analytics. This classification must be reassessed when features change; it is not a general exemption from GDPR.
Provider for the first-party entries below: Chill Study, using Better Auth, next-themes and the app’s own code. Cookies are sent with matching requests. localStorage/sessionStorage remain available to same-origin scripts. They are not encrypted private backups. The app does not install an advertising SDK or marketing pixel.
2. Authentication cookies
better-auth.session_token (with __Secure- prefix on HTTPS): HttpOnly, SameSite=Lax cookie for the signed-in session. Configured lifetime is seven days; active session renewal can refresh it. Signing out revokes the current session. Cookie-cache storage is disabled, so a profile/session-data cache cookie is not part of the configured login flow.
better-auth.state (also secure-prefixed on HTTPS): short-lived OAuth request/CSRF binding cookie for Google sign-in, with a five-minute maximum age in the configured database-backed flow. It is consumed/cleared during callback handling. No persistent ‘remember me’ option is offered by our Google form.
Google’s own authentication pages can use Google cookies under Google’s policies. They are not advertising cookies installed by Chill Study. The app cannot clear cookies on Google’s domain. Browser developer tools show the exact cookies set in a particular session.
3. Appearance and navigation
sidebar_state: first-party preference cookie recording your chosen desktop pin state, maximum age seven days from a change. It contains a boolean preference. The public landing page does not need this cookie to be read.
chillstudy:home-preferences:<owner>: owner-scoped localStorage remembers course checklist exclusions, session timer settings and a cache of your confirmed revisit preference. It contains course IDs and settings, not course titles or teaching. It has no automatic expiry and survives sign-out; changes, clearing site data or confirmed account deletion in this browser remove or replace it. The revisit setting is also saved to your account and enforced by the server.
theme: localStorage value for your selected Light/Dark/System appearance. It has no automatic expiry; it changes when you choose another theme or clear site data. The landing page’s forced light appearance does not overwrite it.
Topic-only :location records under chillstudy:reading:<owner> remember the last opened/read topic, including one still being prepared, with course/topic IDs, progress cycle and timestamp. They stay in this browser without database position tracking and are cleared with matching reading reset/restart/deletion or account deletion. Existing per-topic records separately retain exact article offsets.
chillstudy:session-timer:<owner>: sessionStorage keeps one tab's optional timer start (beginning at the Start learning click), course ID, chosen duration, deadline and dismissed-notice state. It contains no lesson text or answers. A new timed session replaces it; disabling the timer or confirmed sign-out/account deletion clears it. It otherwise lasts for the tab session, which a browser may restore after restart.
chillstudy-navigation-arrival: sessionStorage timestamp used for document-navigation loading coordination; consumed on arrival. Library Back/filter selection is kept under chillstudy:course-library:<owner> in sessionStorage, until updated, confirmed account exit or the tab session ends. The browser can restore a tab session after a restart.
4. Reading, drafts and recovery
chillstudy:reading:* in localStorage: owner/course/topic/content-version identifiers, section/offset and article explanation reveals, plus optional review choices. Reading/reveals have no automatic time expiry; reset, deletion, confirmed account exit or clearing site data removes the relevant records. Review choices become unusable after 24 hours; that is an age check on reading, not a timer that physically erases the value.
chillstudy:course-draft:<owner> and its :exit stamp in sessionStorage: your topic, creation choices and successful direction suggestions for Back/Edit/refresh recovery. They persist through session expiry and failed sign-out. They clear on confirmed account exit or the end of the tab session, subject to browser restoration.
chillstudy:learning:* in sessionStorage: notebook text and pending completion/review mutations for recoverable saving. Acknowledgement removes the relevant pending journal. Unacknowledged changes can survive refresh in the same tab. Confirmed exit clears the departing owner’s records and signals other tabs. Closing a tab can lose unacknowledged work; this is not cross-device backup.
chillstudy:management, account-exit/sign-out markers and reading activity-import markers in localStorage: identifiers/revocation signals let tabs coordinate deletion, reset and safe draft cleanup. They contain no notebook/topic text and have no general expiry timer. Obsolete chillstudy:activity:<owner> hints from older versions may remain until account-exit/site-data cleanup; the current daily-measurement signal deduplicates in memory and does not read or write them.
5. Billing intent and hosted payment pages
A deliberate landing-page pricing choice carries an opaque billingIntent token in the same-origin login/return URL. It selects an offer, not payment authority. The server record expires after ten minutes and is consumed once; it is not a localStorage marketing profile. Checkout/return attempt and session references can also appear in URLs. The app does not send those URLs to optional external page analytics.
Stripe Checkout and Portal open on Stripe’s hosted pages only when you request payment/management. Stripe can use its own cookies and other storage for checkout, fraud prevention and preferences. Their exact names/durations depend on Stripe’s hosted flow and configuration; they are not first-party cookies preloaded by this app. Review Stripe’s current cookie information and any choices on those pages. Our analytics choice does not control independent Google/Stripe sites.
6. Optional analytics and your choice
Vercel Web Analytics is optional and is not mounted until you actively allow it. The core service works when you reject it. Only public landing/policy paths are eligible; private learning, admin, login and billing-return paths are excluded. Query strings and fragments are removed. Vercel describes cookie-free visitor measurement using request-derived hashes with a 24-hour visitor lifetime; cookie-free does not automatically mean consent-free. We require permission for this optional script.
chillstudy:analytics-consent:v1: first-party localStorage choice containing allow/reject, a notice version and timestamp, with no account identifier. We remember it for up to 180 days, checking expiry before sending an event. An expired record can physically remain until replaced or site data is cleared. It is necessary to remember and honour your preference; it is not permission for advertising, internal account metrics or unrelated processing. Both choices use the same lifetime. If storage fails, the choice is held only in the open page’s memory.
Use the controls below to allow, reject or withdraw analytics permission. Withdrawal blocks future analytics events, including from already loaded code. Statistics already transmitted remain subject to the provider’s retention. Clearing site data resets the choice. Clearing data in another tab is respected.
Account-linked daily learning, first-completion and billing measurements are described in Privacy. To ask about these records or object to their use, email contact.chillstudy@gmail.com. The analytics choice below controls the optional Vercel script.
7. Browser controls and limits
You can inspect, block or clear cookies and site storage in your browser’s privacy/site-data settings. Blocking authentication cookies prevents sign-in. Clearing recovery data can discard unsaved changes, including existing notebook drafts, and reading position. Confirmed sign-out clears private owner-scoped work in cooperating tabs, but preferences and minimal revocation markers can remain.
Third-party Google and Stripe pages have their own storage policies and controls. Their settings can change independently of Chill Study.