Documentation
Cookies

Last updated: March 21, 2026

This Cookie Policy explains how MekongTunnel ("we", "us") uses cookies and similar technologies on our website and dashboard at mekongtunnel.dev.

What Are Cookies?

Cookies are small text files stored in your browser when you visit a website. They help websites remember your preferences and provide a better experience. We also use browser localStorage and sessionStorage for some features.

Cookies We Use

Strictly Necessary

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

NamePurposeDuration
sessionKeeps you logged in after authenticationSession / 30 days (if "remember me")
csrf_tokenPrevents cross-site request forgery attacksSession
themeRemembers your light/dark theme preference1 year
localeRemembers your language preference (en/km)1 year

Functional

These cookies improve your experience but are not strictly required.

NamePurposeDuration
dashboard_sidebarRemembers sidebar collapsed/expanded state1 year
docs_last_visitedRemembers the last docs page you visited30 days

Analytics (Optional)

We use privacy-friendly, self-hosted analytics that do not track you across sites and do not use cookies. No third-party analytics cookies (e.g., Google Analytics) are set.

If we add analytics in the future, we will update this policy and request consent.

What We Do NOT Use

  • No advertising or tracking cookies
  • No third-party behavioral profiling cookies
  • No fingerprinting or cross-site tracking

Third-Party Cookies

Some third-party services used by MekongTunnel may set their own cookies:

ServicePurposeTheir Policy
CloudflareDDoS protection, bot detection (__cf_bm, cf_clearance)Cloudflare Privacy (opens in a new tab)
StripePayment processing (on /pricing and billing pages)Stripe Privacy (opens in a new tab)
GitHub OAuthSign-in with GitHubGitHub Privacy (opens in a new tab)
Google OAuthSign-in with GoogleGoogle Privacy (opens in a new tab)

These cookies are only set when you interact with those specific features.

localStorage and sessionStorage

We use browser storage (not cookies) for:

  • mekong_theme — active theme (dark/light)
  • mekong_locale — selected language
  • mekong_sidebar_open — admin/dashboard sidebar state

This data never leaves your browser and is not transmitted to our servers.

Managing Cookies

You can control cookies through your browser settings:

  • Chrome: Settings → Privacy and security → Cookies
  • Firefox: Settings → Privacy & Security → Cookies and Site Data
  • Safari: Preferences → Privacy → Manage Website Data
  • Edge: Settings → Cookies and site permissions

Note that disabling strictly necessary cookies (like session) will prevent you from logging in to the dashboard.

Changes to This Policy

We may update this Cookie Policy when we add new features. The "Last updated" date will reflect any changes.

Contact

Questions about our use of cookies? Email ing@mekongtunnel.dev or see our Privacy Policy.