Skip to main content

Cookie Policy

Last updated: March 11, 2026

This page explains the use of cookies and local storage by Subak Hijau.

1. What Are Cookies?

Cookies are small text files stored on your device when you visit a website. Cookies help the site remember your preferences.

Subak Hijau also uses browser local storage, which functions similarly to cookies but is stored locally on your device.

2. Cookies We Use

subakhijau-locale: Stores your language preference (Indonesia/English). Type: local storage. Duration: permanent until manually cleared.

subakhijau-theme: Stores your theme preference (light/dark). Type: local storage. Duration: permanent until manually cleared.

subakhijau-sidebar-state: Stores dashboard sidebar state (open/closed). Type: cookie. Duration: 7 days.

subakhijau-cookie-consent: Stores your cookie consent preferences. Type: local storage. Duration: permanent until manually cleared.

sb-*: Supabase authentication cookies for login session management. Type: cookie. Duration: session.

_ga: Google Analytics cookie to distinguish unique users. Type: cookie. Duration: 2 years. Only active if you consent to analytics cookies.

_ga_<ID>: Google Analytics cookie to maintain session state. Type: cookie. Duration: 2 years. Only active if you consent to analytics cookies.

_gid: Google Analytics cookie to distinguish unique users within 24 hours. Type: cookie. Duration: 24 hours. Only active if you consent to analytics cookies.

3. Types of Cookies

Essential Cookies: Authentication cookies (sb-*) are required for login and dashboard functionality. Cannot be disabled.

Functional Cookies: Language, theme, and sidebar preferences enhance user experience. Can be cleared through browser settings.

Analytics Cookies: We use Google Analytics (_ga, _ga_<ID>, _gid) to understand platform usage patterns anonymously. These cookies are only activated if you explicitly consent via the consent banner. We do not use advertising or tracking cookies for advertising purposes.

4. Cookie Consent

When first visiting Subak Hijau, you will see a cookie consent banner that allows you to choose which cookie categories to permit.

Essential Cookies: Always active. Required for authentication, session security, and basic platform functionality. Includes Supabase cookies (sb-*).

Functional Cookies: Can be enabled or disabled. Stores language, display theme, and sidebar state preferences. If declined, preferences will not persist between visits.

Analytics Cookies: Can be enabled or disabled (default: off). Enables Google Analytics for anonymous usage analysis. Does not collect personally identifiable information.

You can change your cookie preferences at any time through the Settings page in the dashboard.

5. Managing Cookies

Use the cookie consent banner to select which cookie categories you permit when first visiting the site.

You can change your cookie preferences at any time through the Settings page in the dashboard, including enabling or disabling functional and analytics cookies separately.

Declining functional cookies means language, theme, and assessment draft preferences will not persist between visits.

Disabling essential cookies through your browser may affect login and dashboard functionality.

We use cookies to improve your experience. You can choose which cookie categories to allow per our Cookie Policy.