PostHog Testbed

Next.js testbed for PostHog. Events are sent through the /ingest reverse proxy to avoid ad-blockers.

Capture Events

Identity

Event Log (last 20, client-side only)

No events fired yet. Click a button above.

Configuration

PostHog initialized

Environment Variables

NEXT_PUBLIC_POSTHOG_KEYphc_fX...qTWv
NEXT_PUBLIC_POSTHOG_HOSThttps://us.i.posthog.com
Ingest (reverse proxy)/ph

Init Config (posthogConfig)

api_host/ph
capture_pageviewhistory_change
capture_pageleavetrue
cross_subdomain_cookiefalse
persistencelocalStorage+cookie
autocapturetrue
session_recording{"maskAllInputs":false}

Runtime State

distinct_id
session_id
feature_flags(none)