Cookies policy

This page describes the current implementation. It is not a legal opinion, and it does not claim that showing a banner makes the site compliant with any privacy statute. The broader notice is the privacy policy.

Consent banner

The banner is off unless NEXT_PUBLIC_CONSENT_ENABLED is set. When it is on, the default mode is opt-in unless the mode is configured as opt-out. The banner is the vanilla-cookieconsent library. Accepting or rejecting a choice stores a cookie named cc_cookie. The library default keeps that cookie for 182 days. It records the categories you chose. The application also turns on automatic clearing of cookies when consent is withdrawn.

While the banner is disabled, the consent state used by analytics stays denied. Optional analytics are not treated as accepted just because the banner is hidden.

Optional analytics

Google Analytics loads only when a measurement ID is configured. Its consent defaults deny analytics storage and advertising storage. Advertising storage stays denied. Analytics storage is updated to granted only after you allow the analytics category.

PostHog loads only when a project key is configured. Until analytics consent is granted, it is initialized opted out of capturing, with in-memory persistence and session recording disabled. After consent, persistence can use local storage and cookies. The host defaults to PostHog's US cloud unless another host is configured. PostHog is also set to respect the browser Do Not Track signal.

No marketing service is enabled in the consent configuration. The preferences category, which would cover a cookie for theme or language, is not enabled. Theme is stored outside cookies.

Storage that is not the consent cookie

  • Theme uses localStorage under the key theme-preference. It is written when you change the theme control.
  • Web vitals, when its flag is enabled, uses sessionStorage for a random session id. It does not set a cookie for that id.
  • Reading the Bible sets no sign-in cookie. Only signing in sets one: the httpOnly session cookie better-auth.session_token (with a __Secure- prefix on the live site).
  • CMS editors signing in at /admin receive Payload's authentication cookie. That sign-in is not part of the public reader.

Change your choice

When the banner is enabled, you can reopen the preference dialog from the control below. When the banner is disabled, there is no dialog to open, and analytics consent remains denied.

Cookie preferences are not shown in this deployment because the consent banner is turned off. Analytics consent stays denied in that configuration.