Plugin info

Total downloads: 1,046
Active installs: 50
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 12/5/2025 (25 days ago)
Added to WordPress: 10/20/2022 (3 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.9
Minimum PHP version: 7.4

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 25 days ago • 1 reviews

70/100

Is PostHog for WP – PostHog.com Integration abandoned?

Likely maintained (last update 25 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 6.9
Requires PHP: 7.4

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

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.

Review feed

No reviews available

Screenshots

  1. PostHog Settings menu

    PostHog Settings menu

  2. Plugin Settings

    Plugin Settings

Changelog

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