🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Analytics Integration for PostHog, WP, & WC icon
Actively maintained Tested with WP 7.1

Analytics Integration for PostHog, WP, & WC

Integrate PostHog with WordPress and WooCommerce for detailed user behavior tracking, product analytics, experimentation, and more.

Active installs10+10+ tier
Downloads · 30d280▲ +51.4% vs prev. 30d
Rating—0 reviews
Health score66/100Good
All-time downloads2KSince Apr 2025
Support resolved—No recent threads
RequiresWP 5.0PHP 7.2+
Downloads · 7d167▲ 4.8× week over week
Our verdict

Solid choice

Analytics Integration for PostH… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 6 days ago, and scores 66/100 on our health check.

  • Actively developed — last update 6 days ago
  • Tested with the latest WordPress (7.1)
  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

153147Sep 3Oct 17Dec 1
Yesterday10
Daily average (1y)4
Peak day101May 10, 2026
Last 12 months1.5K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Analytics Integration for P… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
analytics >100 9,321 Best analytics plugins →
ecommerce >100 3,048 Best ecommerce plugins →
PostHog #7 44 Best PostHog plugins →
tracking >100 10,000 Best tracking plugins →
woocommerce >100 10,000 Best woocommerce plugins →

Version adoption

Share of active sites per release.

  • 1.5100.0%

About Analytics Integration for PostHog, WP,…

From the official readme · v1.6.1

Description

This (unofficial) PostHog plugin offers visitor and user tracking for WordPress and WooCommerce websites, leveraging PostHog’s powerful analytics platform.

Features

  • Easy Setup: Configure with just your PostHog project ID
  • WooCommerce Integration: Track ecommerce events including:
    • Product views
    • Add-to-cart and remove-from-cart actions
    • Cart updates
    • Checkout process
    • Completed orders
    • Works with classic themes and shortcodes, block themes and the Cart and Checkout blocks
  • User Tracking: Capture and identify logged-in user data
  • Link Click Tracking: Monitor clicks on links (affiliate links, etc.)
  • PostHog Experiment Support (experimental): Run A/B tests and feature flag experiments using Gutenberg blocks
  • Custom Initialization: Advanced options for custom PostHog configurations
  • PostHog SDK Options: Configuration defaults snapshot, persistence, cookieless mode, consent (opt out by default), ui_host for reverse proxies, exception autocapture, heatmaps, surveys and session recording text masking. All of them stay off until you change them
  • PostHog Ecommerce Spec: Optionally send WooCommerce events with the PostHog ecommerce spec names (Product Viewed, Product Added, Order Completed, …)

Why Use PostHog?

PostHog is an all-in-one platform that helps you build better products. It includes all the tools you need to deploy changes, observe their effect, gather feedback, and iterate from there, and it’s completely free to get started.

Some of the features PostHog offers include…

  • Product and web analytics
  • Revenue tracking and surveys
  • Session recording and heatmaps
  • LLM observability and AI assistant
  • Feature flags and experimentation
  • Error tracking and issue assignment
  • Data pipelines and integrations

You can create a free account with PostHog at posthog.com

WooCommerce Features

With WooCommerce enabled, the plugin automatically tracks:

  • Product view events
  • Add to cart and remove from cart actions
  • Cart views and updates
  • Checkout progress and completion
  • Purchase events with detailed product information

Each event is sent once per action, on classic and block themes. See the FAQ for the event list.

Gutenberg Experiment Support

Create and manage PostHog experiments directly in the Gutenberg editor. Test different content variations using PostHog feature flags without any coding.

Link Click Tracking

Monitor link clicks with customizable link prefixes, supporting both direct links and encoded/obfuscated links.

Configuration

Basic Configuration

  • Project ID: Your PostHog project ID (required)
  • API Host: Select US or EU PostHog instance, or enter a custom URL
  • Tracking Mode: Choose between tracking all visitors or only identified users

Advanced Options

  • Debug Mode: Enable console logging for troubleshooting
  • Gutenberg Experiments: Enable PostHog feature flag experiments in the Gutenberg editor
  • Link Click Tracking: Track clicks on links with customizable prefixes
  • Custom Mode: Override default initialization with custom PostHog script
  • WooCommerce Event Names: Legacy names (default) or the PostHog ecommerce spec names

PostHog SDK Options

These map to options of the PostHog JavaScript library (posthog-js). Each one is left out of the PostHog configuration until you change it, so upgrading does not change what is tracked.

  • Configuration Defaults: The posthog-js defaults date snapshot
  • Persistence: Where PostHog stores identifiers (localStorage sets no PostHog cookies)
  • Cookieless Mode: always or on_reject; also enable cookieless mode in your PostHog project settings
  • Require Consent: opt_out_capturing_by_default, for consent banners that call posthog.opt_in_capturing()
  • PostHog App Host: ui_host, for reverse proxy setups
  • Exception Autocapture, Heatmaps: on, off or the PostHog project setting
  • Disable Surveys and Mask All Text in Session Recordings

Installation

  1. Upload the plugin files to the /wp-content/plugins/analytics-integration-for-posthog-wp-wc directory, or install the plugin through the WordPress plugins screen
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Navigate to Settings > PostHog Integration to configure the plugin
  4. Enter your PostHog Project ID (starts with ‘phc_’)
  5. Choose your PostHog instance (US, EU, or custom)
  6. Configure additional options as needed

Changelog

WooCommerce events are now complete on block themes and the Cart and Checkout blocks, and each event is sent once. cart_updated is no longer sent on every page load, view_product_list lists the products on the page, order_completed is sent once per order.

1.6.1

  • WooCommerce events now work on block themes and with the Cart and Checkout blocks: add to cart from Product Collection, Add to Cart and Mini-Cart blocks, quantity changes and removals in the Cart block, checkout started on the Checkout block
  • Every WooCommerce event now has one source (the server) and is sent once per action. Fixes: add to cart was sent twice for add to cart links without AJAX, cart view twice on the classic cart page, and add to cart was lost when the add was followed by a redirect
  • New remove_from_cart event (Product Removed with the ecommerce spec names). Undoing a removal sends add_to_cart
  • cart_updated is sent once per cart change (add, remove, quantity) with the new cart totals and a cart_action property. Before, it was sent on every page load and with outdated totals after a change. Applying or removing a coupon alone no longer sends it
  • A quantity change sends cart_updated with cart_action “quantity”, product_id, quantity and previous_quantity
  • Fix: order_completed is sent once per order. Reloading the order received page, opening it in another tab or going back no longer sends it again
  • order_completed is no longer sent for failed, cancelled or refunded orders (a failed payment is sent when the retry succeeds), for orders created in wp-admin, for subscription renewals, or for order received links older than 7 days. New filters: infnet_posthog_track_order_completed, infnet_posthog_purchase_max_age
  • begin_checkout is sent once per cart. Reloading the checkout page or opening it in a second tab does not repeat it
  • Performance: shop and category pages no longer load every product of the store for view_product_list. The event lists the products shown on the page
  • Fix: checkout_progress step 1 was also sent on the order received page, and payment_method_selected had no method
  • Cart events are delivered with a short-lived first-party cookie (infnet_posthog_ev_…) that is set after a cart change, see the FAQ
  • Declares compatibility with WooCommerce High-Performance Order Storage and the Cart and Checkout blocks
  • Removed the purchase and server-side checkout_progress hooks, which never sent an event
  • Fix: an order with a deleted product no longer causes an error on the order received page

1.6.0

  • Update the PostHog loader snippet to the version in the current PostHog docs (loads posthog-js from the PostHog assets CDN, guards against loading twice)
  • Fix: “Disable auto-capture” now works. posthog-js has no disable_autocapture option; the plugin now sends autocapture: false
  • “Disable cookie” is sent as disable_persistence, its current posthog-js name. The behavior is unchanged; the label now says what it does
  • Fix: in “Always” tracking mode, anonymous visitors were reset to a new PostHog ID on every page. PostHog is now reset once after a WordPress logout instead
  • Fix: on classic (non-block) themes, product view, product list, cart view, checkout started and order completed events were captured too late and never sent
  • Fix: WooCommerce events no longer overwrite the PostHog $browser property with the raw user agent
  • New PostHog SDK options, all off by default: configuration defaults snapshot, persistence, cookieless mode, opt out by default, ui_host, exception autocapture, heatmaps, disable surveys, mask all text in session recordings
  • New “Never” tracking mode (person_profiles: never); tracking mode values are validated on save
  • New optional WooCommerce event names from the PostHog ecommerce spec, with spec properties. Legacy names stay the default
  • New infnet_posthog_distinct_id filter
  • Removed the checkout_initiated hook, which ran after its data was printed and never sent an event
  • Fix: clicking an AJAX add to cart button on shop pages also followed the link, adding the product twice and sending add_to_cart twice
  • Fix: the feature flag ready script for experiments ran before PostHog was initialized (“posthog is not defined”)

1.5.5

  • Fix: Link Prefixes saved with blank lines or Windows line endings no longer track every link click or stop link tracking; the list is cleaned on save and when loaded
  • Link tracking script ignores empty prefixes

1.5.4

  • Tested with WordPress 7.2 and PHP 8.5; checked for PHP 8.6 deprecations
  • Use wp.editor.PluginSidebar for the experiment sidebar (wp.editPost.PluginSidebar is deprecated) and declare all editor script dependencies
  • Opt the experiment sidebar controls into the current @wordpress/components sizing and margin styles
  • Do not load the experiment editor script in the widgets and Customizer editors (avoids the core wp-editor notice)
  • Replace deprecated jQuery shorthand calls in the admin and WooCommerce scripts
  • Keep line breaks when saving link prefixes, so each prefix on its own line is tracked
  • Add a plugin version constant

1.5.3

  • Fix custom block attribute registration

1.5.2

  • Refactor custom initialization settings
  • Add boolean value conversion helper

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Analytics Integration for Pos… alternatives

All analytics plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Site Kit by Google – Analytics, Search Console, AdSense, Speed Site Kit by Google Site Kit is a one-stop solution for WordPress users to use everything Google has to offer… by Google 5M+ ★★★★★★★★★★ 4.2 (1K) 2 days ago 92
2 MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy) MonsterInsights The best free Google Analytics plugin for WordPress. See how visitors find and use your… by chriscct7 2M+ ★★★★★★★★★★ 4.5 (3.2K) 3 months ago 93
3 WP Statistics – Simple, privacy-friendly Google Analytics alternative WP Statistics Cookieless, privacy-friendly WordPress analytics. Clear graphs and visitor data kept on… by VeronaLabs 500K+ ★★★★★★★★★★ 4.1 (763) 1 day ago 90
4 GA Google Analytics – Connect Google Analytics to WordPress GA Google Analytics – Connect Google Analytics to WordPress Adds Google Analytics tracking code to your WordPress site. Supports many tracking features. by Jeff Starr 400K+ ★★★★★★★★★★ 4.9 (159) 4 days ago 97
5 ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin) ExactMetrics Connects Google Analytics with your WordPress site. Displays stats to help you understand… by Syed Balkhi 200K+ ★★★★★★★★★★ 2.5 (1.5K) 3 months ago 80
6 Head, Footer and Post Injections Head, Footer and Post Injections Head and Footer plugin lets you to add HTML code to the head and footer sections of your… by Stefano Lissa 200K+ ★★★★★★★★★★ 4.9 (735) 8 months ago 53
7 Burst Statistics – Simple WordPress Analytics (Google Analytics Alternative) Burst Statistics Simple, lightweight WordPress analytics with privacy-friendly visitor tracking. Cookieless… by Burst Statistics B.V. 200K+ ★★★★★★★★★★ 4.9 (192) 1 day ago 94
8 HubSpot All-In-One Marketing – Forms, Popups, Live Chat HubSpot All-In-One Marketing – Forms, Popups, Live Chat The CRM, Sales, and Marketing WordPress plugin to grow your business better. Capture and… by HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) 6 days ago 81
9 UserFeedback – Create Interactive Feedback Form, User Surveys, and Polls in Seconds UserFeedback Ultimate user feedback plugin to ask questions, surveys, polls, from your website in seconds by Syed Balkhi 200K+ ★★★★★★★★★★ 4.8 (311) 3 months ago 82
10 Post Views Counter Post Views Counter Count and display post views, track site-wide visits, and see what content works – inside… by dFactory 100K+ ★★★★★★★★★★ 4.9 (1.2K) 1 week ago 96

FAQ

Analytics Integration for PostHog,…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Analytics Integration for PostH… free?

Yes. Analytics Integration for PostH… is free to download and use from the official WordPress.org plugin directory.

Is Analytics Integration for PostH… safe to use in 2026?

Analytics Integration for PostH… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 6 days ago, and scores 66/100 on our health check.

How many websites use Analytics Integration for PostH…?

Analytics Integration for PostH… is active on 10+ WordPress websites and has been downloaded 1,983 times since it launched in April 2025. It was downloaded 280 times in the last 30 days.

Does Analytics Integration for PostH… work with WordPress 7.1?

Yes. The developer has tested Analytics Integration for PostH… up to WordPress 7.2, the latest release. It requires WordPress 5.0 or newer.

What PHP version does Analytics Integration for PostH… need?

Analytics Integration for PostH… requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Analytics Integration for PostH… last updated?

The latest version, 1.6.1, was released on November 26, 2026 (6 days ago).

Who makes Analytics Integration for PostH…?

Analytics Integration for PostH… is developed and maintained by Constantin Oesterling.

What are the best alternatives to Analytics Integration for PostH…?

The most popular alternatives to Analytics Integration for PostH… are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open