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.
| Name | Provider | Purpose | Duration | Type |
|---|---|---|---|---|
| ldia_consent_v1 | Light in the Dark Analytics | Stores your cookie preferences so the banner does not reappear. Holds the version, timestamp, and which categories you allowed. | 365 days | localStorage |
Analytics
Only active if you accept. Shows us which pages help and which miss. We never sell this data.
| Name | Provider | Purpose | Duration | Type |
|---|---|---|---|---|
| ph_<project-key>_posthog | PostHog | Assigns an anonymous ID for product analytics. Lets us see which pages and buttons actually get used. | 365 days | cookie |
| ph_<project-key>_posthog | PostHog | Mirrors the anonymous ID so PostHog can read it without the cookie. | Until you clear your browser storage | localStorage |
| ph_<project-key>_posthog | PostHog | Holds the same anonymous ID for the current tab while you move between pages. | Until you close the tab | sessionStorage |
| __ph_opt_in_out_<project-key> | PostHog | Records whether you opted in or out, so PostHog stays off when you say no. | Until you clear your browser storage | localStorage |
| ph_<project-key>_window_id | PostHog | Tells one browser tab apart from another during a visit. | Until you close the tab | sessionStorage |
| ph_<project-key>_primary_window_exists | PostHog | Marks which tab is the primary one so a visit is not counted twice. | Until you close the tab | sessionStorage |
| _ga | Google Analytics | Assigns an anonymous ID so Google Analytics can tell one visitor from another. | Up to 2 years. Most browsers cap it at 400 days | cookie |
| _ga_<stream-id> | Google Analytics | Keeps track of your current visit so a single session does not get counted twice. | Up to 2 years. Most browsers cap it at 400 days | cookie |
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.