Cookie Policy
Effective Date: December 2024 | Last Updated: December 2024
This Cookie Policy explains how Laxhar Tech Private Limited ("we," "us," "our") uses cookies and similar technologies when you use the Swasth platform.
1. What Are Cookies?
Cookies are small text files stored on your device when you visit a website or use an application. They help websites remember your preferences, understand how you use the site, and improve your experience.
2. Types of Technologies We Use
2.1 Cookies
Small text files stored in your browser that persist across sessions.
2.2 Local Storage
Browser storage used for offline functionality and user preferences. Swasth uses local storage for:
- Offline-first health data (RxDB/IndexedDB)
- User preferences and settings
- Authentication tokens
- E2EE encryption keys
2.3 Service Workers
Scripts that run in the background for PWA functionality:
- Offline access to health data
- Background sync
- Push notifications
3. Categories of Cookies
3.1 Essential Cookies (Required)
These cookies are necessary for the platform to function properly:
| Cookie/Storage | Purpose | Duration |
|---|---|---|
| Authentication Session | Keeps you logged in | Session / 30 days |
| CSRF Token | Security protection | Session |
| Device ID | E2EE key management | Persistent |
| RxDB Data | Offline health data storage | Until cleared |
3.2 Functional Cookies
These cookies enhance functionality and personalization:
| Cookie/Storage | Purpose | Duration |
|---|---|---|
| Theme Preference | Remember dark/light mode | 1 year |
| Language Preference | Remember language selection | 1 year |
| Dashboard Layout | Remember UI preferences | 1 year |
| PWA Install State | Track app installation | Persistent |
3.3 Analytics Cookies (Optional)
These cookies help us understand how you use Swasth:
| Cookie/Storage | Purpose | Duration |
|---|---|---|
| Usage Analytics | Feature usage tracking | 90 days |
| Performance Metrics | Page load times, errors | 30 days |
Analytics cookies are only set with your consent. You can opt out at any time.
4. Third-Party Cookies
We may use limited third-party services that set their own cookies:
- OAuth Providers: Authentication cookies from LaxharAccess
- Google Fit: If you connect Google Fit integration
We do not use third-party advertising cookies or sell your data to advertisers.
5. Offline Data Storage
Swasth is a Progressive Web App (PWA) with offline-first functionality. We store data locally on your device to enable:
- Access to health data without internet connection
- Faster loading and better performance
- Background sync when connection is restored
- Push notifications for reminders
Local data includes health logs, settings, and cached content. This data syncs with our servers when online.
6. Managing Cookies and Storage
6.1 Browser Settings
You can control cookies through your browser settings:
- Chrome: Settings → Privacy and Security → Cookies
- Firefox: Options → Privacy & Security → Cookies
- Safari: Preferences → Privacy → Cookies
- Edge: Settings → Cookies and site permissions
6.2 In-App Settings
You can manage certain preferences within Swasth:
- Analytics consent in Settings → Privacy
- Notification preferences in Settings → Notifications
- Clear local data in Settings → Storage
6.3 Impact of Disabling Cookies
Disabling essential cookies may:
- Prevent you from logging in
- Disable offline functionality
- Remove saved preferences
- Affect E2EE messaging
7. E2EE Key Storage
For end-to-end encrypted messaging, we store cryptographic keys locally:
- Device ID: Unique identifier stored in localStorage
- Olm Keys: Encryption keys stored in IndexedDB
- Store Passphrase: Encrypted key storage passphrase
These are essential for secure messaging and cannot be disabled without losing access to encrypted conversations.
8. Do Not Track
We respect Do Not Track (DNT) browser signals. When DNT is enabled, we disable non-essential analytics cookies.
9. Updates to This Policy
We may update this Cookie Policy periodically. Changes will be posted on this page with an updated effective date.
10. Contact Us
For questions about our use of cookies:
- Email: [email protected]
- Address: Laxhar Tech Private Limited, Bangalore, Karnataka, India