Analytics Integration for PostHog, WP, & WC
Integrate PostHog with WordPress and WooCommerce for detailed user behavior tracking, product analytics, experimentation, and more.
Consider an alternative
Analytics Integration for PostH… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 1 year ago, and scores 33/100 on our health check.
- Small user base (20+ active installs)
- Very few reviews so far
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Analytics Integration for P… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| analytics | >100 |
| ecommerce | >100 |
| PostHog | #8 |
| tracking | >100 |
| woocommerce | >100 |
Version adoption
Share of active sites per release.
About Analytics Integration for PostHog, WP,…
From the official readme · v1.5.3Description
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 actions
- Cart updates
- Checkout process
- Completed orders
- 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
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 actions
- Cart views and updates
- Checkout progress and completion
- Purchase events with detailed product information
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
Installation
- Upload the plugin files to the
/wp-content/plugins/posthog-wpdirectory, or install the plugin through the WordPress plugins screen - Activate the plugin through the ‘Plugins’ screen in WordPress
- Navigate to Settings > PostHog Integration to configure the plugin
- Enter your PostHog Project ID (starts with ‘phc_’)
- Choose your PostHog instance (US, EU, or custom)
- Configure additional options as needed
Frequently asked questions
Where do I find my PostHog Project ID?
Log in to your PostHog account, navigate to Project Settings, and copy the Project API Key (starts with ‘phc_’).
Does this plugin work without WooCommerce?
Yes, the plugin works with standard WordPress sites for basic analytics. WooCommerce-specific tracking is only activated when WooCommerce is installed and active.
Can I use this with other PostHog instances besides the official ones?
Yes, you can use a custom API host URL for reverse proxy PostHog instances.
How do I set up an experiment?
Enable Gutenberg experiments in the plugin settings Edit a post or page with the Gutenberg editor Select any block and use the PostHog Experiment panel in the block settings sidebar Enter your feature flag name and variant Save your post/page
Is this plugin GDPR compliant?
This plugin integrates with PostHog, which has GDPR compliance features. The plugin itself is designed to work with PostHog’s privacy controls. However, you are responsible for ensuring your specific implementation meets GDPR requirements, including proper consent management.
Changelog
Important fixes for WooCommerce compatibility and checkout tracking. Recommended update for all users.
1.5.3
- Fix custom block attribute registration
1.5.2
- Refactor custom initialization settings
- Add boolean value conversion helper
1.5.1
- Use form for script customization to avoid arbitrary script injection
1.5.0
- Add nonce verification for AJAX
- Proper escaping
- json_encode to wp_json_encode
- Rename classes, functions, prefixes
- Refactor all scripts as dedicated .js files and enqueue them
1.4.11
- Set default tracking mode to identified_only
- Properly debug-gated all console logging
1.4.10
- Fixed JavaScript syntax error in WooCommerce integration
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.
Best Analytics Integration for Pos… alternatives
All analytics plugins →FAQ
Analytics Integration for PostHog,…: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 13, 2026
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… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 1 year ago, and scores 33/100 on our health check.
How many websites use Analytics Integration for PostH…?
Analytics Integration for PostH… is active on 20+ WordPress websites and has been downloaded 1,570 times since it launched in April 2025. It was downloaded 114 times in the last 30 days.
Does Analytics Integration for PostH… work with WordPress 7.1?
Analytics Integration for PostH… is officially tested up to WordPress 6.8.11, while the latest release is 7.1.3. It may still work, but try it on a staging site first.
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.5.3, was released on September 3, 2025 (1 year 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
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card