Integrate PostHog Web Analytics

Description

Unofficial Plugin to integrate PostHog’s web analytics and event tracking on your WordPress web site. With PostHog, you can:
* Track visitor behavior and engagement across your WordPress site
* Analyze user journeys and conversion funnels
* Monitor key metrics like pageviews, session duration, and bounce rates
* Create custom events to track specific user actions
* View detailed analytics reports and dashboards
* Make data-driven decisions to optimize your site

For those needing to meet GDPR, HIPAA or other privacy requirements, the plugin can be set in a cookieless mode.

WooCommerce

Integrate PostHog Web Analytics can also track WooCommerce product, cart and checkout events:

External services

This plugin stores your PostHog API and Project ID, using them to insert the required JavaScript tag that permits PostHog to collect your web site’s analytics in your PostHog account.

Refer to PostHog’s privacy policy for more information.

Documentation

Full Plugin documentation can be found here.

Configuration

To configure the Plugin, follow the documentation here.

Screenshots

  • General settings

Installation

  1. Navigate to Plugins > Add New Plugin in WordPress
  2. Type Integrate PostHog Web Analytics in the Search Plugins search field, and press the Enter key
  3. Click Install Now beside Integrate PostHog Web Analytics
  4. Once installed, click Activate

FAQ

Is this GDPR, HIPAA and Privacy Compliant?

Yes – you’ll need to set the Peristence setting to Memory at Settings > PostHog Web Analytics. This will use a cookieless method for data collection,
ensuring GDPR, HIPAA and other privacy compliance.

Do I need a paid PostHog account?

No – PostHog’s generous free tier will track 1M free events, 5K free session recordings, and more. Every month. Forever.

Where can I find the Plugin’s Documentation?

Full Plugin documentation can be found here.

Will this slow down my site?

No, the plugin is optimized for performance with minimal impact on page load times.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Integrate PostHog Web Analytics” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.3 (2025-09-18)

  • Fix: Event Tracking: WooCommerce: Improved tracking for block-based carts and checkouts

1.1.2

  • Fix: PHP Notice: Function _load_textdomain_just_in_time was called incorrectly

1.1.1

  • Added: Event Tracking: WooCommerce. See Docs: https://www.wpzinc.com/documentation/posthog/woocommerce-integration/

1.0.0

  • First release