Cookie Policy

Last Updated: November 14, 2025

1. What Are Cookies?

Cookies are small text files that are placed on your device when you visit a website. They help websites remember your preferences and improve your browsing experience. We use cookies and similar technologies (localStorage, IndexedDB) to provide and enhance our Service.

2. Types of Cookies We Use

2.1 Necessary Cookies

These cookies are essential for the website to function properly. They cannot be disabled.

Cookie NamePurposeDuration
habit-tracker-user-idStores a unique device ID for local data storagePersistent
timesheet-dataStores your habit tracking data locallyPersistent
cookie-consent-preferencesRemembers your cookie consent choicesPersistent
next-auth.session-tokenMaintains your login session (Google OAuth)Session

2.2 Analytics Cookies (Optional)

These cookies help us understand how visitors interact with our website. They are only set if you consent.

Cookie NamePurposeDuration
_gaGoogle Analytics - distinguishes users2 years
_ga_*Google Analytics - persists session state2 years

2.3 Marketing Cookies (Not Currently Used)

We do not currently use marketing or advertising cookies. If we decide to use them in the future, we will update this policy and request your consent.

3. Local Storage and IndexedDB

In addition to cookies, we use browser storage technologies:

  • localStorage: Stores your habit data, user preferences, and theme settings
  • IndexedDB: Provides more persistent storage for your habit tracking data, even if you clear cookies

These technologies are essential for the Service to function and cannot be disabled without losing core functionality.

4. Managing Your Cookie Preferences

You have several options to manage cookies:

  • Cookie Banner: When you first visit our site, you can choose which cookies to accept
  • Cookie Preferences Page: Visit our Cookie Preferences page to change your settings at any time
  • Browser Settings: Most browsers allow you to block or delete cookies through their settings

Note: Blocking necessary cookies will prevent the Service from functioning properly.

5. Third-Party Cookies

We use the following third-party services that may set cookies:

  • Google Analytics: Helps us understand website usage (only with your consent)
  • Google OAuth: Enables secure login with your Google account

These third parties have their own privacy policies. We recommend reviewing them:

6. Questions?

If you have questions about our use of cookies, please contact us at binggua666@gmail.com or read our Privacy Policy.