Cookie Policy

Last Updated: April 16, 2026

This Cookie Policy explains how AstroCodex uses cookies and similar technologies on the AstroCodex website (the “Service”). It supplements our Privacy Policy.

1. What Are Cookies

Cookies are small text files placed on your device by a website you visit. They are widely used to make websites work, to improve efficiency and to provide information to site owners. Similar technologies include localStorage, sessionStorage and pixels.

2. Categories of Cookies We Use

  • Strictly Necessary — required for the Service to function (authentication, session, CSRF, load-balancing). Always on; cannot be disabled.
  • Analytics — help us understand how visitors interact with the Service so that we can improve it. Loaded only after you grant consent, where consent is required by law.
  • Marketing — currently not used by AstroCodex.

3. Cookies on This Domain

On astrocodex.ai we use Google Analytics 4, provided by Google LLC (1600 Amphitheatre Parkway, Mountain View, CA 94043, USA). See the Google Privacy Policy.

Cookies set on astrocodex.ai:

  • session_id — First-party, Strictly Necessary, session. Maintains your authenticated session.
  • csrf_token — First-party, Strictly Necessary, session. Protects against CSRF attacks.
  • cookie_consent — First-party, Strictly Necessary, 12 months. Stores your cookie-consent choice.
  • _ga — Google Analytics 4, Analytics, 24 months. Unique visitor identifier.
  • _ga_<container-id> — Google Analytics 4, Analytics, 24 months. Session state and campaign info.
  • _gid — Google Analytics, Analytics, 24 hours. Short-lived visitor identifier.

4. Third-Party Cookies

Third-party cookies are set by domains other than ours. On this Service they currently come only from the analytics provider named in the previous section. We do not embed third-party advertising networks or social widgets that set cookies without your action.

5. Managing Your Preferences

On astrocodex.ai analytics cookies can be disabled directly in your browser settings (typically “Privacy and security” → “Cookies and site data”). Strictly-necessary cookies are required for the Service to function and cannot be switched off.

6. Retention

Retention periods for each cookie are listed in the table in section 3. Session cookies are deleted when you close your browser; persistent cookies expire on the date shown.

7. Changes to This Policy

We may update this Cookie Policy. Material changes will be posted on this page with a revised “Last Updated” date. Continued use of the Service after changes constitutes acceptance.

8. Contact

Questions about cookies: privacy@astrocodex.ai.