[WordPress] 外掛分享: Analytics Integration for PostHog, WP, & WC

首頁外掛目錄 › Analytics Integration for PostHog, WP, & WC
20+
安裝啟用
尚無評分
197 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.2+ v1.5.3 上架:2025-03-31

內容簡介

總結:這個(非官方)的PostHog外掛提供了WordPress和WooCommerce網站的訪客和用戶追蹤,利用PostHog強大的分析平臺。

1. 什麼是這個(非官方)PostHog外掛所提供的功能?
- 可以使用PostHog專案ID輕鬆配置
- 整合了WooCommerce,追蹤包括產品查看、加入購物車、購物車更新、結帳過程和完成訂單等電子商務事件
- 追蹤並識別已登入用戶的數據
- 監控連結點擊(例如聯盟連結等)
- 支持PostHog實驗(實驗性):使用Gutenberg區塊運行A/B測試和特徵旗實驗
- 提供自定義初始化的高級選項,用於自定義PostHog配置

2. 為什麼要使用PostHog?
- PostHog是一個全方位的平臺,幫助您打造更好的產品。它包括了部署變更、觀察效果、收集反饋並從中迭代等所有所需的工具,而且完全免費。一些PostHog提供的功能包括:產品和網絡分析、收益追踪和調查、會話錄製和熱圖、LLM可觀察性和AI助理、特徵標誌和實驗、錯誤追蹤和問題分配、數據管道和集成。您可以在posthog.com上創建一個免費帳戶。

3. 有哪些WooCommerce功能?
- 啟用WooCommerce後,該外掛會自動追蹤產品查看活動、加入購物車操作、購物車查看和更新、結帳進度和完成以及包含詳細產品信息的購買活動。

4. 如何進行配置?
- 基本配置:包括專案ID、API主機和追蹤模式等
- 高級選項:啟用調試模式、Gutenberg實驗、連結點擊追蹤和自定義模式等。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Analytics Integration for PostHog, WP, & WC」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This (unofficial) PostHog plugin offers visitor and user tracking for WordPress and WooCommerce websites, leveraging PostHog’s powerful analytics platform.
Features

Easy Setup: Configure with just your PostHog project ID
WooCommerce Integration: Track ecommerce events including:

Product views
Add-to-cart actions
Cart updates
Checkout process
Completed orders

User Tracking: Capture and identify logged-in user data
Link Click Tracking: Monitor clicks on links (affiliate links, etc.)
PostHog Experiment Support (experimental): Run A/B tests and feature flag experiments using Gutenberg blocks
Custom Initialization: Advanced options for custom PostHog configurations

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…

Product and web analytics
Revenue tracking and surveys
Session recording and heatmaps
LLM observability and AI assistant
Feature flags and experimentation
Error tracking and issue assignment
Data pipelines and integrations

You can create a free account with PostHog at posthog.com
WooCommerce Features
With WooCommerce enabled, the plugin automatically tracks:

Product view events
Add to cart actions
Cart views and updates
Checkout progress and completion
Purchase events with detailed product information

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.
Configuration
Basic Configuration

Project ID: Your PostHog project ID (required)
API Host: Select US or EU PostHog instance, or enter a custom URL
Tracking Mode: Choose between tracking all visitors or only identified users

Advanced Options

Debug Mode: Enable console logging for troubleshooting
Gutenberg Experiments: Enable PostHog feature flag experiments in the Gutenberg editor
Link Click Tracking: Track clicks on links with customizable prefixes
Custom Mode: Override default initialization with custom PostHog script

延伸相關外掛

文章
Filter
Mastodon