Cookie Policy

Last updated: July 9, 2026

What cookies are

Cookies are small files your browser stores so a site can remember things between visits. Some are required for the site to work. Others help us see what pages people actually use. You pick what you are okay with.

Your choice

Nothing beyond the basics fires until you say yes. You can accept all, reject all, or pick by category. Change your mind anytime... open cookie settings from the footer and save new choices.

What we set

Here is every cookie and browser storage key we use, grouped by category.

Necessary

Keeps the site working. Stores your consent choice so we don't ask again on every page. Always on.

NameProviderPurposeDurationType
ldia_consent_v1Light in the Dark AnalyticsStores your cookie preferences so the banner does not reappear. Holds the version, timestamp, and which categories you allowed.365 dayslocalStorage

Analytics

Only active if you accept. Shows us which pages help and which miss. We never sell this data.

NameProviderPurposeDurationType
ph_<project-key>_posthogPostHogAssigns an anonymous ID for product analytics. Lets us see which pages and buttons actually get used.365 dayscookie
ph_<project-key>_posthogPostHogMirrors the anonymous ID so PostHog can read it without the cookie.Until you clear your browser storagelocalStorage
ph_<project-key>_posthogPostHogHolds the same anonymous ID for the current tab while you move between pages.Until you close the tabsessionStorage
__ph_opt_in_out_<project-key>PostHogRecords whether you opted in or out, so PostHog stays off when you say no.Until you clear your browser storagelocalStorage
ph_<project-key>_window_idPostHogTells one browser tab apart from another during a visit.Until you close the tabsessionStorage
ph_<project-key>_primary_window_existsPostHogMarks which tab is the primary one so a visit is not counted twice.Until you close the tabsessionStorage
_gaGoogle AnalyticsAssigns an anonymous ID so Google Analytics can tell one visitor from another.Up to 2 years. Most browsers cap it at 400 dayscookie
_ga_<stream-id>Google AnalyticsKeeps track of your current visit so a single session does not get counted twice.Up to 2 years. Most browsers cap it at 400 dayscookie

Change your preferences

Use the cookie settings link in the footer to reopen the consent panel. Your new choice saves immediately and applies on the next page load.

Third-party policies

PostHog and Google each have their own privacy and cookie practices. Review directly:

Google Analytics runs in consent mode. Every storage signal starts denied. We only turn on analytics storage, never advertising storage or ad personalization.

More on how we handle data

Our privacy policy covers what we collect, how long we keep it, and your rights.

Questions

Email us at data@lightinthedarkanalytics.com. We will answer directly.