Title: PostHog for WP &#8211; PostHog.com Integration
Author: Saad Malik
Published: <strong>20 آڪٽوبر 2022</strong>
Last modified: 27 مَي 2026

---

پلگ انس ڳولھيو

![](https://ps.w.org/connect-wp-posthog-com-integration/assets/banner-772x250.png?
rev=3412648)

![](https://ps.w.org/connect-wp-posthog-com-integration/assets/icon.svg?rev=3412648)

# PostHog for WP – PostHog.com Integration

 کان: [Saad Malik](https://profiles.wordpress.org/saadcodes/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/connect-wp-posthog-com-integration.1.4.1.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/connect-wp-posthog-com-integration/#description)
 * [جائزو](https://snd.wordpress.org/plugins/connect-wp-posthog-com-integration/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/connect-wp-posthog-com-integration/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/connect-wp-posthog-com-integration/#developers)

 [سھائتا](https://wordpress.org/support/plugin/connect-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.

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

## تصوير

[⌊PostHog Settings menu⌉⌊PostHog Settings menu⌉[

PostHog Settings menu

[⌊Plugin Settings⌉⌊Plugin Settings⌉[

Plugin Settings

## انسٽاليشن

 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

## FAQ

### 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](https://www.posthog.com/)

### 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](https://app.posthog.com/ingestion/web)

### 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.

## جائزا

![](https://secure.gravatar.com/avatar/29c1daaa712900cc30d3998904e586b9ca48590cfe2e6e555a6dd076bc10e991?
s=60&d=retro&r=g)

### 󠀁[Version Update Audit: Success](https://wordpress.org/support/topic/version-update-audit-success/)󠁿

 [bankinghaus](https://profiles.wordpress.org/saadmallick/) 5 ڊسمبر 2025

Interface for WooCommerce Simpler Integration form fields Event Tracking and additional
custom flags.

 [ واحد: سڀ 1 جائزو پڙهو ](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/)

## تعاون ڪندڙ & ڊولپرز

“PostHog for WP – PostHog.com Integration” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن 
ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

 *   [ Saad Malik ](https://profiles.wordpress.org/saadcodes/)
 *   [ Saad Malik ](https://profiles.wordpress.org/saad-malik/)

[ترجمو ڪريو “PostHog for WP – PostHog.com Integration” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/connect-wp-posthog-com-integration)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/connect-wp-posthog-com-integration/)،
چيڪ ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/connect-wp-posthog-com-integration/)،
يا رڪنيت حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/connect-wp-posthog-com-integration/)
پاران [RSS](https://plugins.trac.wordpress.org/log/connect-wp-posthog-com-integration/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

#### 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

## ميٽا

 *  Version **1.4.1**
 *  Last updated **2 مهينا اڳ**
 *  Active installations **100+**
 *  WordPress version ** 5.0 يا وڌيڪ **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 يا وڌيڪ **
 *  Language
 * [English (US)](https://wordpress.org/plugins/connect-wp-posthog-com-integration/)
 * Tag
 * [PostHog](https://snd.wordpress.org/plugins/tags/posthog/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/connect-wp-posthog-com-integration/advanced/)

## درجه بندي

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/reviews/)

## تعاون ڪندڙ

 *   [ Saad Malik ](https://profiles.wordpress.org/saadcodes/)
 *   [ Saad Malik ](https://profiles.wordpress.org/saad-malik/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/connect-wp-posthog-com-integration/)