BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
PostHog for WP – PostHog.com Integration icon
Maintained Tested up to 7.0.7 #1 in Post Hog

PostHog for WP – PostHog.com Integration

PostHog for WP - PostHog.com Integration is a simple, lightweight solution for inserting your PostHog.com Snippet code to your WordPress website.

Active installs100+100+ tier
Downloads · 30d117▲ +9.3% vs prev. 30d
Rating5/51 reviews
Health score60/100Fair
All-time downloads2KSince Oct 2022
Support resolved—No recent threads
RequiresWP 5.0PHP 7.4+
Downloads · 7d31• 0% week over week
Our verdict

Use with caution

PostHog for WP works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 5 months ago, and scores 60/100 on our health check.

  • Small user base (100+ active installs)
  • Very few reviews so far

Daily downloads

4812Jul 14Aug 27Oct 11
Yesterday3
Daily average (1y)3
Peak day56May 27, 2026
Last 12 months1.1K

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

Rankings

Where PostHog for WP stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
Post Hog #1 4 Best Post Hog plugins →
PostHog #2 28 Best PostHog plugins →
PostHog integration #1 20 Best PostHog integration plugins →
PostHog WordPress integration #1 20 Best PostHog WordPress integration plugins →
posthog.com #1 15 Best posthog.com plugins →

Version adoption

Share of active sites per release.

  • 1.481.7%
  • 1.318.3%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About PostHog for WP – PostHog.com Integration

From the official readme · v1.4.1

Description

PostHog for WP – PostHog.com Integration is a simple, lightweight solution for inserting your PostHog.com Snippet code to your WordPress website.

PostHog is an open-source product analytics platform that helps you understand user behavior. This plugin makes it easy to add PostHog tracking to your WordPress site without editing theme files.

Features:

  • Easy setup – just paste your PostHog snippet code
  • Enable/disable tracking with one click
  • Lightweight and fast
  • Compatible with latest WordPress version
  • No coding required

Installation

  1. Upload posthog-for-wp-posthog-com-integration to the /wp-content/plugins/ directory or install directly through WordPress
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings → PostHog Settings
  4. Paste your PostHog snippet code from your PostHog project settings
  5. Enable the tracking and save

Frequently asked questions

Is this the official PostHog plugin?

No, this is a community-maintained plugin that integrates with PostHog.com.

Where can I find out more about PostHog?

For more info go to the official site: PostHog

Where can I get the code snippet from?

Once signed in to PostHog, copy your snippet code from “Project” → “Settings” → “Web” or visit the Settings page

Does this work with WooCommerce?

Yes, the PostHog snippet will track all pages including WooCommerce pages. WooCommerce-specific event tracking will be added in a future update.

Changelog

1.4.1

  • Updated: WordPress 7.0 compatibility metadata
  • Fixed: i18n text domain now matches plugin slug for Plugin Check

1.4.0

  • Updated: WordPress 6.9 compatibility
  • Updated: PHP 7.4 minimum requirement
  • Improved: Security with proper input sanitization and validation
  • Improved: Settings API with proper sanitize callbacks
  • Improved: Code quality following WordPress coding standards
  • Improved: Accessibility with ARIA labels and proper form structure
  • Fixed: Deprecated functions replaced with modern equivalents
  • Fixed: Capability checks now use manage_options instead of administrator role
  • Fixed: Used WordPress helper functions (checked(), esc_textarea(), etc.)
  • Added: Comprehensive PHPDoc comments
  • Added: Input validation for PostHog snippet
  • Added: Better error messages and user guidance

1.3.0

  • Previous stable release

1.0.0

  • Initial public release

Full changelog on WordPress.org →

Screenshots

PostHog Settings menu
PostHog Settings menu
Plugin Settings
Plugin Settings

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

FAQ

PostHog for WP: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 12, 2026

Is PostHog for WP free?

Yes. PostHog for WP is free to download and use from the official WordPress.org plugin directory.

Is PostHog for WP safe to use in 2026?

PostHog for WP works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 5 months ago, and scores 60/100 on our health check.

How many websites use PostHog for WP?

PostHog for WP is active on 100+ WordPress websites and has been downloaded 1,996 times since it launched in October 2022. It was downloaded 117 times in the last 30 days.

Does PostHog for WP work with WordPress 7.1?

PostHog for WP is officially tested up to WordPress 7.0.7, while the latest release is 7.1.3. It may still work, but try it on a staging site first.

What PHP version does PostHog for WP need?

PostHog for WP requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was PostHog for WP last updated?

The latest version, 1.4.1, was released on May 27, 2026 (5 months ago).

Who makes PostHog for WP?

PostHog for WP is developed and maintained by Saad Malik.

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
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.