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

前言介紹

  • 這款 WordPress 外掛「Analytics Integration for PostHog, WP, & WC」是 2025-03-31 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-04-01,距離現在已有 33 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

infinitnet |

外掛標籤

PostHog | tracking | analytics | ecommerce | woocommerce |

內容簡介

總結:這個(非官方)的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實驗、連結點擊追蹤和自定義模式等。

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Analytics Integration for PostHog, WP, & WC」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.5.1 | 1.5.2 | trunk |

延伸相關外掛(你可能也想知道)

  • WooCommerce 》p>WooCommerce是全球最受歡迎的開源電子商務解決方案之一,擁有世界上最多的市場份額。, 我們的核心平臺是免費的、靈活的,並擁有全球社區的支持。開源的自由...。
  • Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation 》🤩使用這個外掛可以製作彈出視窗和訂閱表單,增加電子郵件訂閱者、銷售和業績–最受歡迎的彈出視窗建構器!🚀, 最佳的 WordPress 彈出視窗建構器和電子報彈窗...。
  • WooCommerce PayPal Payments 》PayPal 最新、功能最完備的付款處理解決方案。除了接受 PayPal 獨有的付款方式,也可接受信用卡/借記卡和本地付款方式。開啟 PayPal 付款選項或處理完整的付...。
  • Mailchimp for WooCommerce 》加入 Mailchimp 的 1,700 萬客戶,這是全球最大的行銷自動化平台,以發展您的電子商務行銷策略。藉由官方 Mailchimp for WooCommerce 整合,您的客戶及其購買...。
  • Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress 》理 their accounts., , Content Restriction, Restrict content based on membership level, user role, or custom capabilities. With ProfilePress members...。
  • WooCommerce PayPal Checkout Payment Gateway 》⚠️ PayPal 結帳功能將於 2022 年 3 月 1 日停止支援,外掛的更新已在 2021 年 9 月 1 日停止。我們建議轉換至 PayPal Payments。, 這是一個用於 WooCommerce ...。
  • WooCommerce Multilingual & Multicurrency with WPML 》這個外掛包含您需要開始跨國銷售所需的一切。輕鬆地設定和管理多種貨幣下的產品,不論您的商店大小和負責團隊的規模。或者,您可以升級購買 WPML,將您的整個...。
  • Mercado Pago payments for WooCommerce 》官方的 Mercado Pago 外掛可讓您為您的網路商店處理付款,讓使用者以他們喜歡的付款方式完成購買。, 安裝不需要技術知識,您可以從我們的開發者網站上按照整...。
  • WooCommerce Admin 》WooCommerce Admin 已不再被支援, WooCommerce Admin 已經成為 WooCommerce 的一部分!為了確保您的商店繼續順利運行,請確認 WooCommerce 已更新至最新版本...。
  • TI WooCommerce Wishlist 》增加銷售和轉換率, 您是否正在尋找提高您的 WooCommerce 網站銷售量的方法?不用再找了,使用 WooCommerce 愿望清單!我們強大的工具旨在提高轉換率和增加網...。
  • Mollie Payments for WooCommerce 》, 透過 Mollie 的強大外掛,您可以在 WooCommerce 中快速整合所有主要的付款方式,不論您在何處需要它們。只需將它們直接丟入您的 WooCommerce 網店中,Molli...。
  • Matomo Analytics – Ethical Stats. Powerful Insights. 》已經使用 Matomo On-Premise 或 Matomo Cloud 的使用者?您需要使用 WP-Matomo 外掛而非此外掛。, 對於所有想要以更輕鬆的方式獲取顧客洞察資訊以發展自己的...。
  • Download Manager 》WordPress Download Manager 是一款檔案/文件管理外掛程式,可讓您管理、追蹤和控制從您的 WordPress 網站下載的檔案。您可使用密碼、使用者角色來控制檔案的...。
  • Download Monitor 》Download Monitor 是一個提供上傳及管理可下載檔案的介面外掛(支援多版本),可以插入下載連結到文章中並記錄下載次數。, 特點, , 在熟悉的 WP 介面中新增、...。
  • WC Custom Thank You 》這個免費的 WooCommerce 外掛允許你為你的顧客定義一個特定且自訂的感謝頁面。, 購買後,你的顧客會被重定向到自訂的感謝頁面,而不是預設的 WooCommerce 感...。

文章
Filter
Mastodon