Everything about PostHog

The ph_*_posthog cookie

ph_*_posthog is a cookie set by PostHog, from PostHog Inc. Stores user identification data including distinct ID, session ID, and other tracking information for analytics.

The * in the name stands for a part that changes from site to site, such as an account or measurement ID.

Set by

PostHog

Duration

1 year

Category

Analytics

Needs consent

Yes

Does the ph_*_posthog cookie require consent?

ph_*_posthog is used for analytics, so under the GDPR and the ePrivacy rules it may only be set after the visitor has agreed. Showing a banner is not enough on its own: the cookie must not be set before the visitor clicks accept.

Does your site set ph_*_posthog before consent?

A free scan loads your site the way a new visitor sees it and lists every cookie that is set before anyone has said yes, ph_*_posthog included.

How to put ph_*_posthog behind consent

Remove the PostHog snippet from your site and add your PostHog ID under Integrations in Consentify instead. Consentify then loads PostHog only after the visitor has accepted analytics, so ph_*_posthog is never set before consent.

View all integrations
Free scan, no account

Not sure what's running on your PostHog site?

Scan it first and you'll know exactly which scripts need consent before you set up the banner. Takes about ten seconds.

  • Results in about 10 seconds
  • No account needed
  • Shareable report link