Title: Meta Pixel Event Tracker for WooCommerce
Author: Harpalsinh Parmar
Published: <strong>2025 年 8 月 29 日</strong>
Last modified: 2026 年 6 月 2 日

---

搜索插件

![](https://ps.w.org/meta-pixel-event-tracker/assets/banner-772x250.png?rev=3352535)

![](https://ps.w.org/meta-pixel-event-tracker/assets/icon-256x256.png?rev=3352535)

# Meta Pixel Event Tracker for WooCommerce

 作者：[Harpalsinh Parmar](https://profiles.wordpress.org/developer1998/)

[下载](https://downloads.wordpress.org/plugin/meta-pixel-event-tracker.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/meta-pixel-event-tracker/#description)
 * [评价](https://cn.wordpress.org/plugins/meta-pixel-event-tracker/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/meta-pixel-event-tracker/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/meta-pixel-event-tracker/#developers)

 [支持](https://wordpress.org/support/plugin/meta-pixel-event-tracker/)

## 描述

Meta Pixel Event Tracker for WooCommerce enables you to track key eCommerce events
directly in your Meta (Facebook) Ads account, giving you better insights into your
customers’ shopping behavior.
 It allows you to selectively enable or disable event
tracking for various WooCommerce pages and actions.

**Features:**
 * Track **ViewContent**, **AddToCart**, **InitiateCheckout**, and**
Purchase** events. * Separate enable/disable controls for each page type (Shop, 
Product, Cart, Checkout, Categories). * Supports WooCommerce default pages and custom
shop/category pages. * Inline JavaScript injection for faster execution. * Lightweight
and optimized for performance.

**Common Use Cases:**
 * Optimize Meta Ads campaigns by tracking accurate WooCommerce
events. * Create retargeting audiences based on shopper behavior. * Measure conversion
performance for each product category.

### Sources

This plugin uses the following third-party libraries:
 – FB Events (https://connect.
facebook.net/en_US/fbevents.js)

### External services

This plugin connects to the Facebook Pixel service in order to provide website analytics
and conversion tracking.
 It loads the Facebook Pixel script from the following 
domain: https://connect.facebook.net/en_US/fbevents.js

When enabled, this service may collect user data as described in Facebook’s terms
and privacy policy.
 – Terms of Service: https://www.facebook.com/legal/terms – 
Privacy Policy: https://www.facebook.com/about/privacy

## 屏幕截图

[⌊Plugin options inside the WordPress Settings menu.⌉⌊Plugin options inside the 
WordPress Settings menu.⌉[

Plugin options inside the WordPress Settings menu.

[⌊Settings panel to enable or disable events by page type.⌉⌊Settings panel to enable
or disable events by page type.⌉[

Settings panel to enable or disable events by page type.

[⌊Proper error message displayed when the Pixel ID is invalid.⌉⌊Proper error message
displayed when the Pixel ID is invalid.⌉[

Proper error message displayed when the Pixel ID is invalid.

[⌊Example of Meta Pixel event debug output in the browser console.⌉⌊Example of Meta
Pixel event debug output in the browser console.⌉[

Example of Meta Pixel event debug output in the browser console.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/meta-pixel-event-tracker-for-
    woocommerce` directory, or install the plugin through the WordPress plugins screen
    directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to **Settings  Meta Pixel Tracker** to configure your settings.
 4. Enable event tracking for the pages you want (Shop, Cart, Checkout, etc.).
 5. Save changes — events will now be tracked automatically.

## 常见问题

### Does this plugin work with WooCommerce custom shop pages?

Yes. As long as WooCommerce’s core functions detect the page type, tracking will
work.

### Do I need a Meta Pixel ID?

Yes. You must set up your Meta Pixel in your Meta Business Manager and add your 
Pixel ID in the plugin settings.

### Can I disable tracking on certain pages?

Yes. The plugin has toggle switches in the settings to enable or disable event tracking
for specific WooCommerce pages.

### Will this plugin slow down my site?

No. The plugin loads minimal inline JavaScript and only runs on WooCommerce-related
pages.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Meta Pixel Event Tracker for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Harpalsinh Parmar ](https://profiles.wordpress.org/developer1998/)

「Meta Pixel Event Tracker for WooCommerce」插件已被翻译至 1 种本地化语言。 感谢
[所有译者](https://translate.wordpress.org/projects/wp-plugins/meta-pixel-event-tracker/contributors)
为本插件所做的贡献。

[帮助将「Meta Pixel Event Tracker for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/meta-pixel-event-tracker)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/meta-pixel-event-tracker/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/meta-pixel-event-tracker/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/meta-pixel-event-tracker/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/meta-pixel-event-tracker/)。

## 更新日志

#### 1.0.3

 * Updated compatibility information for WordPress 7.0.

#### 1.0.2

 * Added “Other Popular Plugins” section with a modern three-card layout.
 * Improved admin UI spacing and consistency.
 * Minor CSS and accessibility refinements.

#### 1.0.1

 * Fix: Improved compatibility with WordPress 6.9

#### 1.0.0

 * Initial release.
 * Added settings page to toggle event tracking for Shop, Category, Product, Cart,
   and Checkout pages.
 * Implemented inline JavaScript for faster execution.
 * Added support for Meta Pixel standard events: ViewContent, AddToCart, InitiateCheckout,
   Purchase.

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**6 天前**
 *  活跃安装数量 **60+**
 *  WordPress 版本 ** 5.2 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Danish](https://da.wordpress.org/plugins/meta-pixel-event-tracker/) 和 [English (US)](https://wordpress.org/plugins/meta-pixel-event-tracker/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/meta-pixel-event-tracker)
 * 标签
 * [ecommerce tracking](https://cn.wordpress.org/plugins/tags/ecommerce-tracking/)
   [event tracking](https://cn.wordpress.org/plugins/tags/event-tracking/)[Facebook Pixel](https://cn.wordpress.org/plugins/tags/facebook-pixel/)
   [Meta Pixel](https://cn.wordpress.org/plugins/tags/meta-pixel/)[woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/meta-pixel-event-tracker/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/meta-pixel-event-tracker/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/meta-pixel-event-tracker/reviews/)

## 贡献者

 *   [ Harpalsinh Parmar ](https://profiles.wordpress.org/developer1998/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/meta-pixel-event-tracker/)