Sign In
Back

Cookie Policy

Last updated: March 15, 2026

1. What Are Cookies

Cookies are small text files stored on your device when you visit a website. They are widely used to make websites work efficiently and to provide information to site owners. BeatTrees also uses localStorage, a browser-based storage mechanism similar to cookies.

2. Cookies We Use

2.1 Strictly Necessary Cookies

These cookies are essential for the Service to function and cannot be disabled.

CookieProviderPurposeDuration
sb-*-auth-tokenSupabaseAuthentication session. Keeps you signed in.Session / 1 year
tiktok_code_verifierBeatTreesPKCE code verifier for TikTok OAuth flow.10 minutes
tiktok_oauth_stateBeatTreesCSRF protection for TikTok OAuth.10 minutes
tiktok_oauth_userBeatTreesLinks TikTok OAuth callback to your user session.10 minutes
youtube_oauth_stateBeatTreesCSRF protection for YouTube/Google OAuth.10 minutes

2.2 Functional (localStorage)

These items store your preferences and UI state locally in your browser.

KeyPurposeDuration
bt-cookie-consentStores your cookie consent preference (accepted/declined).Persistent
recentBeatsStores your recently viewed beats for the sidebar.Persistent
followedProducersStores followed producers for guest users (not signed in).Persistent

2.3 Analytics Cookies (Consent Required)

These cookies are only set after you provide consent via our cookie banner.

CookieProviderPurposeDuration
ph_*PostHogAnonymized product analytics: page views, feature usage, user flows.1 year

3. Cookie Consent

When you first visit BeatTrees, a cookie consent banner is displayed. You have the following options:

  • Accept: All cookies including analytics are enabled. PostHog is loaded to collect anonymized usage data.
  • Decline: Only strictly necessary cookies are used. No analytics tracking is loaded.

Your preference is stored in localStorage as bt-cookie-consent. You can change your preference at any time by clearing your browser's localStorage for beattrees.ai, which will cause the consent banner to appear again on your next visit.

4. How to Control Cookies

Most browsers allow you to control cookies through their settings. You can:

  • View and delete existing cookies
  • Block all cookies or only third-party cookies
  • Set your browser to notify you when a cookie is being set

Note that blocking strictly necessary cookies will prevent you from signing in and using core features of BeatTrees.

5. Changes to This Policy

We may update this Cookie Policy when we change the cookies we use. Changes will be reflected in the "Last updated" date above. For significant changes, we will notify you via our cookie consent banner.

6. Contact

Questions about our use of cookies? Contact us at privacy@beattrees.ai.