{"id":228438,"date":"2025-04-09T11:00:03","date_gmt":"2025-04-09T11:00:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/posthog\/"},"modified":"2026-04-02T03:48:02","modified_gmt":"2026-04-02T03:48:02","slug":"integrate-posthog-web-analytics","status":"publish","type":"plugin","link":"https:\/\/hau.wordpress.org\/plugins\/integrate-posthog-web-analytics\/","author":15285352,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.5","stable_tag":"1.1.5","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Integrate PostHog Web Analytics and Event Tracking","header_author":"WP Zinc","header_description":"Unofficial Plugin to integrate PostHog's web analytics tracking script to your WordPress web site.","assets_banners_color":"f0f0f0","last_updated":"2026-04-02 03:48:02","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.wpzinc.com\/documentation\/posthog","header_plugin_uri":"http:\/\/www.wpzinc.com\/documentation\/posthog","header_author_uri":"http:\/\/www.wpzinc.com","rating":0,"author_block_rating":0,"active_installs":200,"downloads":1651,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wpzinc","date":"2025-04-09 10:59:34"},"1.1.0":{"tag":"1.1.0","author":"wpzinc","date":"2025-04-15 05:12:40"},"1.1.1":{"tag":"1.1.1","author":"wpzinc","date":"2025-04-15 05:31:16"},"1.1.2":{"tag":"1.1.2","author":"wpzinc","date":"2025-05-09 08:19:30"},"1.1.3":{"tag":"1.1.3","author":"wpzinc","date":"2025-09-18 11:39:29"},"1.1.4":{"tag":"1.1.4","author":"wpzinc","date":"2026-03-20 03:12:12"},"1.1.5":{"tag":"1.1.5","author":"wpzinc","date":"2026-04-02 03:48:02"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3269606,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3269606,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3269606,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3269606,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3269606,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"General settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[232,214764],"plugin_category":[36],"plugin_contributors":[131151],"plugin_business_model":[],"class_list":["post-228438","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-posthog","plugin_category-analytics","plugin_contributors-wpzinc","plugin_committers-wpzinc","plugin_support_reps-n7studios","plugin_support_reps-wpzinc"],"banners":{"banner":"https:\/\/ps.w.org\/integrate-posthog-web-analytics\/assets\/banner-772x250.png?rev=3269606","banner_2x":"https:\/\/ps.w.org\/integrate-posthog-web-analytics\/assets\/banner-1544x500.png?rev=3269606","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/integrate-posthog-web-analytics\/assets\/icon-128x128.png?rev=3269606","icon_2x":"https:\/\/ps.w.org\/integrate-posthog-web-analytics\/assets\/icon-256x256.png?rev=3269606","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/integrate-posthog-web-analytics\/assets\/screenshot-1.png?rev=3269606","caption":"General settings"}],"raw_content":"<!--section=description-->\n<p>Unofficial Plugin to integrate PostHog's web analytics and event tracking on your WordPress web site.  With PostHog, you can:\n* Track visitor behavior and engagement across your WordPress site\n* Analyze user journeys and conversion funnels\n* Monitor key metrics like pageviews, session duration, and bounce rates\n* Create custom events to track specific user actions\n* View detailed analytics reports and dashboards\n* Make data-driven decisions to optimize your site<\/p>\n\n<p>For those needing to meet GDPR, HIPAA or other privacy requirements, the plugin can be set in a cookieless mode.<\/p>\n\n<p>[youtube https:\/\/www.youtube.com\/watch?v=TZnSXIQeSc0]<\/p>\n\n<h3>WooCommerce<\/h3>\n\n<p>Integrate PostHog Web Analytics can also track WooCommerce product, cart and checkout events:<\/p>\n\n<p>[youtube https:\/\/www.youtube.com\/watch?v=IAdhiIM_fmE]<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin stores your PostHog API and Project ID, using them to insert the required JavaScript  tag that permits PostHog to collect your web site's analytics in your PostHog account.<\/p>\n\n<p>Refer to PostHog's <a href=\"https:\/\/posthog.com\/privacy\">privacy policy<\/a> for more information.<\/p>\n\n<h4>Documentation<\/h4>\n\n<p>Full Plugin documentation can be found <a href=\"https:\/\/www.wpzinc.com\/documentation\/posthog\">here<\/a>.<\/p>\n\n<h3>Configuration<\/h3>\n\n<p>To configure the Plugin, follow the documentation <a href=\"https:\/\/www.wpzinc.com\/documentation\/posthog\">here<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Navigate to <code>Plugins &gt; Add New Plugin<\/code> in WordPress<\/li>\n<li>Type <code>Integrate PostHog Web Analytics<\/code> in the Search Plugins search field, and press the Enter key<\/li>\n<li>Click <code>Install Now<\/code> beside <code>Integrate PostHog Web Analytics<\/code><\/li>\n<li>Once installed, click <code>Activate<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20gdpr%2C%20hipaa%20and%20privacy%20compliant%3F\"><h3>Is this GDPR, HIPAA and Privacy Compliant?<\/h3><\/dt>\n<dd><p>Yes - you'll need to set the <code>Peristence<\/code> setting to <code>Memory<\/code> at <code>Settings &gt; PostHog Web Analytics<\/code>. This will use a cookieless method for data collection,\nensuring GDPR, HIPAA and other privacy compliance.<\/p><\/dd>\n<dt id=\"do%20i%20need%20a%20paid%20posthog%20account%3F\"><h3>Do I need a paid PostHog account?<\/h3><\/dt>\n<dd><p>No - PostHog's generous free tier will track 1M free events, 5K free session recordings, and more. Every month. Forever.<\/p><\/dd>\n<dt id=\"where%20can%20i%20find%20the%20plugin%27s%20documentation%3F\"><h3>Where can I find the Plugin's Documentation?<\/h3><\/dt>\n<dd><p>Full Plugin documentation can be found <a href=\"https:\/\/www.wpzinc.com\/documentation\/posthog\">here<\/a>.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20site%3F\"><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>No, the plugin is optimized for performance with minimal impact on page load times.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>1.1.5 (2026-04-02)<\/h3>\n\n<ul>\n<li>Updated: Dashboard submodule<\/li>\n<\/ul>\n\n<h3>1.1.4 (2026-03-20)<\/h3>\n\n<ul>\n<li>Added: Reverse Proxy Domain option. See Docs: https:\/\/www.wpzinc.com\/documentation\/posthog\/installation\/<\/li>\n<\/ul>\n\n<h3>1.1.3 (2025-09-18)<\/h3>\n\n<ul>\n<li>Fix: Event Tracking: WooCommerce: Improved tracking for block-based carts and checkouts<\/li>\n<\/ul>\n\n<h3>1.1.2<\/h3>\n\n<ul>\n<li>Fix: PHP Notice: Function <code>_load_textdomain_just_in_time<\/code> was called incorrectly<\/li>\n<\/ul>\n\n<h3>1.1.1<\/h3>\n\n<ul>\n<li>Added: Event Tracking: WooCommerce. See Docs: https:\/\/www.wpzinc.com\/documentation\/posthog\/woocommerce-integration\/<\/li>\n<\/ul>\n\n<h3>1.0.0<\/h3>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Unofficial Plugin to integrate PostHog&#039;s web analytics tracking script to your WordPress web site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/228438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=228438"}],"author":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpzinc"}],"wp:attachment":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=228438"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=228438"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=228438"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=228438"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=228438"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=228438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}