Title: Conversion Tracking for WooCommerce
Author: weDevs
Published: <strong>2014 年 3 月 27 日</strong>
Last modified: 2026 年 2 月 5 日

---

搜索插件

![](https://ps.w.org/woocommerce-conversion-tracking/assets/banner-772x250.png?rev
=3451686)

![](https://ps.w.org/woocommerce-conversion-tracking/assets/icon-256x256.png?rev
=3451686)

# Conversion Tracking for WooCommerce

 作者：[weDevs](https://profiles.wordpress.org/wedevs/)

[下载](https://downloads.wordpress.org/plugin/woocommerce-conversion-tracking.2.1.5.zip)

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

 [支持](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/)

## 描述

When you are integrating any advertising campaigns, they provide various tracking
codes (mainly JavaScript) to insert them various pages of your site so that it can
track how the conversion is happening.

This plugin inserts those codes on WooCommerce cart page, checkout success page 
and after user registration. So you can track who are adding your products to cart,
who are buying them and who are registering to your site.

#### Supported Integrations

 * [Facebook](https://wedevs.com/docs/woocommerce-conversion-tracking/facebook/?utm_source=wporg&utm_medium=Readme&utm_campaign=wcct-lite&utm_content=facebook)
 * [Twitter](https://wedevs.com/docs/woocommerce-conversion-tracking/twitter/?utm_source=wporg&utm_medium=Readme&utm_campaign=wcct-lite&utm_content=twitter)
 * [Google Adwords](https://wedevs.com/docs/woocommerce-conversion-tracking/google-adwords/?utm_source=wporg&utm_medium=Readme&utm_campaign=wcct-lite&utm_content=google_adwords)
 * [Custom Tracking](https://wedevs.com/docs/woocommerce-conversion-tracking/custom/?utm_source=wporg&utm_medium=Readme&utm_campaign=wcct-lite&utm_content=custom)

#### Pro Features

 * More Facebook Events
 * Multiple Facebook Pixels
 * [Facebook Product Catalog](https://wedevs.com/docs/woocommerce-conversion-tracking/facebook/facebook-product-catalog/?utm_source=wporg&utm_medium=Readme&utm_campaign=wcct-lite&utm_content=product_catalog)
 * [Perfect Audience](https://wedevs.com/docs/woocommerce-conversion-tracking/perfect-audience/?utm_source=wporg&utm_medium=Readme&utm_campaign=wcct-lite&utm_content=perfect_audience)
 * [Bing Ads](https://wedevs.com/docs/woocommerce-conversion-tracking/bing-ads)
 * More Twitter and Google Adwords Events

[**Get Pro Version**](https://wedevs.com/woocommerce-conversion-tracking/pricing/?utm_source=wporg&utm_medium=Readme&utm_campaign=wcct-lite&utm_content=pricing)

#### Videos

[**All Videos**](https://www.youtube.com/watch?v=b3BHJwQ7Q70&list=PLJorZsV2RVv_7zV2I1_X_xJODZklXHQtS)

#### 贡献

[Github](https://github.com/tareq1988/woocommerce-conversion-tracking)

#### 撰稿人

[Tareq Hasan](https://tareq.co)

### Privacy Policy

woocommerce-conversion-tracking uses [Appsero](https://appsero.com) SDK to collect
some telemetry data upon user’s confirmation. This helps us to troubleshoot problems
faster & make product improvements.

Appsero SDK **does not gather any data by default.** The SDK only starts gathering
basic telemetry data **when a user allows it via the admin notice**. We collect 
the data to ensure great user experience for all our users.

Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without
confirmation from users in any case.**

Learn more how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).

Additionally, read weDevs [privacy policy](https://wedevs.com/privacy-policy/) for
more.

## 屏幕截图

 * [[
 * Settings Panel
 * [[
 * Facebook Pixel Setup
 * [[
 * Google Adwords Conversion Tracking Settings
 * [[
 * Twitter Purchase Tracking Setup
 * [[
 * Custom Codes

## 安装

Extract the zip file and just drop the contents in the wp-content/plugins/ directory
of your WordPress installation and then activate the Plugin from Plugins page.

#### 中等需求

 * WooCommerce 3.0
 * PHP version 7.4 or greater
 * MySQL 5.0 或更新版本

#### Tracking Conversions

If you need to track successful purchases, go to the settings and in the **Tags 
for Successful Order** box, place the JavaScript code you received from the services(
e.g. Facebook, Twitter, AdWords) you want to use.

In the JavaScript snippet, there are places where you can use `order_number`, `order_total`,`
order_subtotal`, `currency`, etc.

The plugin provides the following codes: `{customer_id}`, `{customer_email}`, `{
customer_first_name}`, `{customer_last_name}`, `{order_number}`, `{order_total}`,`{
order_subtotal}`, `{currency}`, `{payment_method}`.

Replace the script tag values with the suitable codes the plugin provides and finally
insert the snippet in the boxes.

## 常见问题

### Does it work with WooCommerce 2.x and 3.x?

Yes, the plugin works both with the latest v3.x and the older 2.x versions.

### How conversions are tracked?

We have three different ways of tracking a conversion. The most used one is when
a order has been made.

We put the JavaScript scripts provided by you in the page and it fires a conversion
event to that scripts site.

## 评价

![](https://secure.gravatar.com/avatar/a9e1085c1446970c9b1ad5d65a2172d1cd9143d2e1ed08fedaa9a60516739bfc?
s=60&d=retro&r=g)

### 󠀁[Plugin is abandoned but not communicated](https://wordpress.org/support/topic/plugin-is-abandoned-but-not-communicated/)󠁿

 [roadmapstudios](https://profiles.wordpress.org/roadmapstudios/) 2026 年 5 月 6
日

Yes, this plugin is broken and its done on purpose according to WeDevs support team.
They only offer the Pro version on their website. This is the worst exit strategy
I have witnessed, complete amateurs. This is not how you discontinue a free plugin,
you have violated the Wordpress.org guidelines.

![](https://secure.gravatar.com/avatar/89a955bfd635bf9572546e8e7357c5d414c17216f8cac862ec0b845b6ebea61b?
s=60&d=retro&r=g)

### 󠀁[Fix _load_textdomain_just_in_time](https://wordpress.org/support/topic/fix-_load_textdomain_just_in_time/)󠁿

 [Adam Tulloss](https://profiles.wordpress.org/artulloss/) 2025 年 10 月 16 日

There are multiple support issues closed by the support about _load_textdomain_just_in_time.
This plugin spam my logs and is obnoxious. I opened a PR to fix this 3 weeks ago
and nothing.

![](https://secure.gravatar.com/avatar/066d16af120c25ea2629a8d18d5eef4579c66bd61c83a676a75001fc85d025c0?
s=60&d=retro&r=g)

### 󠀁[Can’t deactivate the plugin](https://wordpress.org/support/topic/cant-deactivate-the-plugin-3/)󠁿

 [Habib Mosavi](https://profiles.wordpress.org/habibmosavi/) 2025 年 10 月 1 日

Plugin’s “Deactivate” button is not working, they force you to give a feedback in
order to deactivate the plugin.

![](https://secure.gravatar.com/avatar/8cf7655071f82970f9635a0c7e7646551756c333b57166083e506a72cad98916?
s=60&d=retro&r=g)

### 󠀁[Stopped using due to serious maintenance issues](https://wordpress.org/support/topic/stopped-using-due-to-serious-maintenance-issues/)󠁿

 [David Anderson / Team Updraft](https://profiles.wordpress.org/davidanderson/) 
2025 年 5 月 21 日

Unfortunately, despite this being a “freemium” plugin (i.e. presumably funded through
sales of the paid-version counterpart) – we had a negative experience (you can look
in the support forum for the topic with title “doing_it_wrong: _load_textdomain_just_in_time
was called incorrectly”; the ‘review’ form doesn’t allow direct adding of links)–
which alerted us that the plugin is not supported or maintained in a sensible or
timely fashion. Accordingly we stopped using it as we couldn’t have confidence in
how it’s being looked after going forwards.

![](https://secure.gravatar.com/avatar/87c9ff67afe3820129929443efa243b5606bc910de84a1cce8710af06e5c365d?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work and developer doesn’t update](https://wordpress.org/support/topic/doesnt-work-and-developer-doesnt-update/)󠁿

 [Lauren](https://profiles.wordpress.org/equusport/) 2021 年 3 月 12 日

We bought this plugin from Woocommerce back in December and immediately found a 
bug that rendered the plugin useless for FB integration. We brought it to their 
attention and they told us they “fixed” it but never pushed the update. We tried
to get it solved for over 3 months before we reported them to Woocommerce for breaching
the marketplace T&Cs… don’t waste your money.

![](https://secure.gravatar.com/avatar/1d9c41d4da7cb7d4b4050ab46d44322ebc4a96d69fdcd00bbb3e4cdd0fa78cb4?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work](https://wordpress.org/support/topic/doesnt-work-2630/)󠁿

 [thesadshow](https://profiles.wordpress.org/thesadshow/) 2021 年 3 月 4 日 1 回复

I installed the plugin and entered the tracking code into the corresponding field
but the tracking pixel isn’t firing. I’ve tried two different pixels and neither
one fires using this plugin.

 [ 阅读所有24条评价 ](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/)

## 贡献者及开发者

「Conversion Tracking for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ weDevs ](https://profiles.wordpress.org/wedevs/)
 *   [ Tareq Hasan ](https://profiles.wordpress.org/tareq1988/)

[帮助将「Conversion Tracking for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/woocommerce-conversion-tracking)

### 对开发感兴趣吗?

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

## 更新日志

#### Version 2.1.5 (02 Feb, 2026)

 * **Update:** Removed Perfect Audience integration as the service is discontinued

#### Version 2.1.4 (13 Oct, 2025)

 * **Update:** Update plugin name.

#### Version 2.1.1 (26 Aug, 2025)

 * **fix:** Resolved “Constant WCCT_VERSION already defined” warning caused by multiple
   plugin initializations in Conversion Tracking for WooCommerce.
 * **Update:** Added missing ‘Requires PHP’ header
 * **Update:** WordPress 6.8.2 compatibility
 * **chore:** Updated Appsero SDK to the latest version for improved stability and
   performance.
 * **chore:** Refactored codebase with Mozart to ensure better dependency management
   and prevent conflicts with other plugins.

#### Version 2.1.0 (09 Dec, 2024)

 * **Update:** Added support for High Performance Order Storage in WooCommerce
 * **Update:** WordPress 6.7.1 compatibility

#### Version 2.0.12 (16 Jan, 2024)

 * **Update:** WordPress 6.4.2 compatibility
 * **Fix:** Updated Appsero Client Library to the latest version which will fix 
   a security issue
 * **Fix:** Fixed a Broken Access Control vulnerability in Conversion Tracking for
   WooCommerce Plugin that allowed lower privileged users to install and activate
   a new plugin via an ajax action without a nonce parameter.

#### Version 2.0.11 (15 Sep, 2023)

 * **Update:** WordPress 6.3.1 compatibility
 * **Fix:** Updated Appsero Client Library to the latest version which will fix 
   a security issue
 * **Update:** Added HPOS (High Performance Order Storage) support

#### Version 2.0.10 (2 June, 2022)

 * **Fix:** WordPress 6.0 compatibility

#### Version 2.0.9 (6 October, 2021)

 * **Fix:** Perfect Audience breaking checkbox section issue.
 * **Fix:** WordPress 5.8 compatibility
 * **Fix:** Latest WooCommerce 5.7 compatibility

#### Version 2.0.8 (10 June, 2020)

 * **Fix:** Dismissable HA notice, was introduced in v2.0.7.
 * **Fix:** Removed discount notice as it was deprecated.

#### Version 2.0.7 (2 May, 2020)

 * **Fix:** Removed unnecessary usage of `wp_kses_post()`, which was breaking the
   plugin.
 * **Improved:** Added WordPress 5.4 compatibility.
 * **Improved:** Added WooCommerce 4.0 compatibility.
 * **Improved:** Removed the v2.0 welcome notice, which isn’t relevant anymore.

#### Version 2.0.6 (02-January-2020)

 * [fix] Missing ajax addToCart value of facebook
 * [fix] php-cs-fixer: Sanitization and nonce verification

#### Version 2.0.4 (21-August-2019)

 * [fix] Happyaddons dismissable banner
 * [fix] Getting started link doesn’t work
 * [tweak] Change from Google Adwords to Google Ads

#### Version 2.0.3 (05-August-2019)

 * [fix] AddToCart Event doesn’t work for ajax
 * [new] Add happy addons banner

#### Version 2.0.2 (29-April-2019)

 * [fix] Missing value of product price

#### Version 2.0.1 (04-April-2019)

 * [fix] Added plugin require notice

#### Version 2.0 (22-February-2018)

 * Major version released
 * Individual gateway integrations
 * More streamlined and user friendly UI

#### Version 1.2.5 (28-December-2017)

 * Added plugin action links for Docs and Settings.
 * Added a survey for next version features.
 * Updated WooCommerce compatibility version tags.

#### 1.2.4 – 01-Aug-2017

 * [fix] The tracker option won’t go away. Sorry!

#### 1.2.3 – 31-July-2017

 * [improvement] WooCommerce v3.0 compatibility
 * [new] Added new shortcodes: `{customer_id}`, `{customer_email}`, `{customer_first_name}`,`{
   customer_last_name}`, `{payment_method}`
 * [new] Added weDevs Insights class

#### 1.2.2 – 10-Feb-2017

 * Updated with plugin slug as the textdomain
 * Integration class PHP compatibility

#### 1.2.1 – 9-June-2016

 * [fix] Fatal error on thank you page when without parameters

#### 1.2 – 10-April-2016

 * [new] Order number variable `{order_number}` added on checkout page

#### 1.1 – 08-Jan-2016

 * [new] Dynamic values on product and checkout script

#### 1.0 – 08/07/2015

 * [fix] Removed product specific codes from product single page, should show only
   on checkout. My bad!

#### 0.3 – 31/05/2015

 * [fix] Product specific code only loads on product page itself, not checkout

#### 0.2 – 30/05/2015

 * Renamed position option “In Footer” to “Inside Body Tag”, may be was confusing
   to users.

#### 0.1.1 – 06/04/2014

 * Added position parameter for display position control

#### 0.1 – 27/03/2014

 * Initial release

## 额外信息

 *  版本 **2.1.5**
 *  最后更新：**4 月前**
 *  活跃安装数量 **20,000+**
 *  WordPress 版本 ** 5.4 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/woocommerce-conversion-tracking/)
 * 标签
 * [commerce](https://cn.wordpress.org/plugins/tags/commerce/)[e-commerce](https://cn.wordpress.org/plugins/tags/e-commerce/)
   [ecommerce](https://cn.wordpress.org/plugins/tags/ecommerce/)[tracking](https://cn.wordpress.org/plugins/tags/tracking/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/woocommerce-conversion-tracking/advanced/)

## 评级

 3 星（最高 5 星）。

 *  [  10 条 5 星评价     ](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/?filter=4)
 *  [  2 条 3 星评价     ](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/?filter=3)
 *  [  2 条 2 星评价     ](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/?filter=2)
 *  [  9 条 1 星评价     ](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/reviews/)

## 贡献者

 *   [ weDevs ](https://profiles.wordpress.org/wedevs/)
 *   [ Tareq Hasan ](https://profiles.wordpress.org/tareq1988/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/woocommerce-conversion-tracking/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://tareq.co/donate/)