Cookie & Storage Policy
Effective Date: March 31, 2026
This policy explains how the Ritma service ("Service") uses cookies, local storage, and other browser technologies to operate. We believe in transparency about how we use these technologies.
1. What Are Cookies and Similar Technologies?
Cookies are small text files stored in your browser. Local storage and IndexedDB are browser-based storage mechanisms that allow web applications to store data locally. Service workers are scripts that run in the background to enable offline functionality and caching.
2. Essential Cookies (Always Active)
These are strictly necessary for the Service to function and cannot be disabled.
- _ritma_session — Rails session cookie. Maintains your authenticated session. Expires when you close your browser or after the session timeout.
- CSRF token — Protects against cross-site request forgery attacks. Set on every page load.
- remember_user_token — Only set if you check 'Remember me' at sign-in. Persists your authentication for up to 2 weeks.
- neurodrive_cookie_consent — Stores your cookie consent preferences. Expires after 365 days.
3. Functional Storage
These store your UI preferences to improve your experience.
- localStorage: ritma-sidebar-collapsed — Remembers whether you collapsed the sidebar. Persists until cleared.
4. PWA & Offline Storage
The Service works offline as a Progressive Web App (PWA). The following storage is used:
- Service Worker Cache (ritma-static) — Caches static assets (CSS, JS, images) for fast loading.
- Service Worker Cache (ritma-pages) — Caches visited pages for offline access. Session-bound pages (/users/, /account) are excluded.
- Service Worker Cache (ritma-api) — Caches API responses for offline data access.
- IndexedDB (ritma-write-queue) — Queues data changes made while offline for synchronization when connectivity is restored.
5. Third-Party Technologies
Google Fonts: We load fonts from Google Fonts (fonts.googleapis.com, fonts.gstatic.com). Google may set cookies or collect anonymous usage data through this service. Refer to Google's privacy policy for details. We do not use any analytics, advertising, or social media tracking cookies.
6. Managing Your Preferences
You can manage your cookie preferences at any time by clicking the cookie settings link in the website footer. You can also clear cookies and local storage through your browser settings. Note that disabling essential cookies will prevent the Service from functioning. Clearing PWA storage will require re-downloading cached content.
7. Changes to This Policy
We may update this Cookie & Storage Policy when we introduce new technologies or change our practices. Material changes will be communicated through the cookie consent banner.