Tagbridge is a simple, independent way to add PostHog to WordPress: PostHog for WordPress, without touching code. Enter your PostHog project API key, choose your region, and Tagbridge loads PostHog on your site with the settings you pick.
Tagbridge is an independent project. It is not affiliated with, endorsed by, or sponsored by PostHog. "PostHog" is a trademark of its respective owner and is used here only to describe what this plugin connects to.
What it does today
- Connect to PostHog Cloud (US or EU) or your own self-hosted or reverse-proxy host.
- Your project API key is checked with a live test call before it is saved, so you know right away if it is correct.
- Loads PostHog (posthog-js) from the host you configure, so self-hosted and reverse-proxy setups work without code.
- Plain-language toggles for what gets captured: pageviews, autocapture (clicks and form interactions), session recording, and person profile mode.
- Privacy-first cookieless mode that keeps visitor state in memory, so no PostHog cookie is set.
- Identity: tie logged-in WordPress users to one PostHog person across anonymous and logged-in sessions, using a stable hashed identifier (never the raw user ID). You choose whether to identify logged-in users and which properties to send (email, name, role).
- Server-side events: send key events (user logged in, user registered) from your own WordPress server, so they still arrive when a visitor's browser blocks tracking. Runs on your existing hosting, with a per-event on/off switch. A failed or slow PostHog request never affects your pages.
- WooCommerce events (when WooCommerce is active): product viewed, added to cart, checkout started, and order completed with order value and currency. The same person is tracked from the browser session through to the completed order.
- A clean settings screen that fits WordPress and stays out of your way.
On the roadmap
Planned for future releases:
- A no-flicker feature-flag block and shortcode evaluated on the server.
- Optional starter dashboards created in your PostHog project.
- WordPress Consent API support.
- Install and activate the plugin.
- In the WordPress admin, open the "PostHog" menu.
- Paste your PostHog project API key and choose your region (US, EU, or self-hosted / reverse proxy).
- Save. Tagbridge checks the key with PostHog before saving and tells you if it worked.
- Choose what to track, then save again. PostHog will start receiving data from your site.
You can find your project API key in PostHog under Settings, Project, Project API key. It is a public key and is safe to use in the browser.