Linux 软件免费装

Analytics Integration for PostHog, WP, & WC

开发者 infinitnet
更新时间 2025年9月4日 00:57
PHP版本: 7.2 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

tracking woocommerce ecommerce analytics posthog

下载

1.5.1 1.5.2 1.5.3

详情介绍:

This (unofficial) PostHog plugin offers visitor and user tracking for WordPress and WooCommerce websites, leveraging PostHog’s powerful analytics platform. Features 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... You can create a free account with PostHog at posthog.com WooCommerce Features With WooCommerce enabled, the plugin automatically tracks: 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.

安装:

  1. Upload the plugin files to the /wp-content/plugins/posthog-wp directory, or install the plugin through the WordPress plugins screen
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Navigate to Settings > PostHog Integration to configure the plugin
  4. Enter your PostHog Project ID (starts with 'phc_')
  5. Choose your PostHog instance (US, EU, or custom)
  6. Configure additional options as needed

升级注意事项:

1.4.8 Important fixes for WooCommerce compatibility and checkout tracking. Recommended update for all users. 1.4.6 Added link click tracking and improved experiment functionality. 1.4.0 Major update with Gutenberg experiment support and enhanced WooCommerce integration.

常见问题:

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?

  1. Enable Gutenberg experiments in the plugin settings
  2. Edit a post or page with the Gutenberg editor
  3. Select any block and use the PostHog Experiment panel in the block settings sidebar
  4. Enter your feature flag name and variant
  5. 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.

更新日志:

1.5.3 1.5.2 1.5.1 1.5.0 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0