Skip to main content
OpenAIAnthropicGooglePerplexityMetaMicrosoft
PostHog open-source native
PostHogPostHog·Analytics

posthog session replay on every wordpress site.

paste a `phc_` project token (and optionally a US/EU host URL). product analytics, feature flags, session replay, A/B tests — all from one open-source SDK loaded at the platform layer.

free trial. no credit card. all 30 integrations included on every plan.

includedYovale WordPress Hosting — PostHog
yovale.com/en/integrations/posthog
PostHog · analytics consent

PostHog layers inside every wordpress site.

PostHog doesn't ship a maintained official WordPress plugin. The standard install is a script tag that you paste into your theme — which loses on theme switches and has no validation if you mistype the token.

01
save-time validation
`phc_` regex enforced in dashboard
02
render-time mirror
same regex re-checked in PHP
03
consent gate
fires only after analytics consent granted
04
head injection
PostHog SDK loaded in `wp_head`
01
PostHog phc_ token injector
02
feature flags + session replay + analytics
03
self-hosted or PostHog Cloud
04
consent-aware activation
status panel
phc_xxx
one project token
open source
self-host or Cloud
0 plugins
no PostHog plugin needed
stack collapse

six tools collapse into one SDK.

most product teams stitch four tools (analytics + replay + flags + experiments) and pay four bills. PostHog covers the lot from a single `phc_` token.

analytics + replay + flags + experiments + surveys — same SDK
1M events / 5K replays / 1M flag requests on free Cloud
self-host option — your data, your servers, BSL license
capability
PostHog
Mixpanel
Amplitude
Hotjar
LaunchDarkly
Product analytics
Session replay
Feature flags
A/B experiments
In-app surveys
Self-host option
free starting tier
1M events
100K MTU
10M events
$0
$0
the problem

paste your phc_ token. all six light up.

Yovale validates the `phc_` shape at save. add an optional `api_host` for region selection (us.i.posthog.com or eu.i.posthog.com).

  • 1
    Open Tracking → Analytics

    Find PostHog in the dashboard's tracking panel.

  • 2
    Paste your project token

    Copy from PostHog → Project settings → Project API key. format: `phc_` + 40–50 alphanumeric.

  • 3
    Optional: pick host

    US (`https://us.i.posthog.com`) or EU (`https://eu.i.posthog.com`). Leave blank for the US default.

PostHog
enabled
project_token
phc_aB7cDe9fGh1iJk2lMn3oPq4rSt5uVw6xYz0123456789

PostHog issues this when you create a project. format: `phc_` followed by 40–50 letters and digits.

api_hosthttps://eu.i.posthog.comEU

optional — leave blank for US default, or point at self-hosted.

what fires

analytics, flags, replay, surveys — one SDK.

Product analytics

events, funnels, retention — same surface as Mixpanel and Amplitude.

Session replay

rrweb-based replay with privacy controls. masked inputs by default.

Feature flags + experiments

ship gradually, A/B test variants, JSON-payload remote config.

In-app surveys

NPS, multiple choice, open text — embed inline or as a popup.

faq

questions before you switch hosts for PostHog.

Why PostHog over Mixpanel or Amplitude?

PostHog covers analytics, feature flags, session replay, surveys, and A/B tests from one SDK — Mixpanel and Amplitude only do analytics. If you'd otherwise need three tools, PostHog often replaces them.

Is PostHog actually free?

PostHog Cloud has a free tier covering 1M events/month, 5K replays, and 1M flag requests. Most small WordPress sites stay within free indefinitely. Self-hosting is also free, with infrastructure cost only.

Does PostHog respect EU consent?

Yovale gates the SDK behind the analytics consent signal. If the visitor declined analytics cookies, PostHog doesn't load. PostHog's own EU host (eu.i.posthog.com) handles data residency separately.

Can I self-host PostHog and point Yovale at it?

Yes. The api_host field accepts your own PostHog instance URL. Self-hosting requires Kubernetes or Docker — see PostHog's deployment docs.

Will PostHog session replay slow down my site?

Session replay adds bandwidth (uploading rrweb event streams) but minimal CPU. Most sites see no measurable performance impact.

ready when you are

PostHog open-source product analytics on WordPress by day one.

free trial. no credit card. paste a `phc_` token, save, and analytics + flags + replay all light up.