Title: Conversion Tracking for WooCommerce
Author: marketacumen
Published: <strong>Agẹmọ  15, 2018</strong>
Last modified: Òkúdù 17, 2019

---

Ṣàwárí àwọn plugin

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

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/conversion-tracking-for-woocommerce/assets/icon.svg?rev=1909511)

# Conversion Tracking for WooCommerce

 Láti ọwọ́ [marketacumen](https://profiles.wordpress.org/marketacumen/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/conversion-tracking-for-woocommerce.1.0.2.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/conversion-tracking-for-woocommerce/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/conversion-tracking-for-woocommerce/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/conversion-tracking-for-woocommerce/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/conversion-tracking-for-woocommerce/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/conversion-tracking-for-woocommerce/)

## Àpèjúwe

**This plugin requires WooCommerce to operate.** Instrumenting analytics for your
cart should be straightforward and use standard JavaScript. This plugin aims to 
solve this to allow you to use your own JavaScript or a tag management solution 
to integrate your analytics tracking. The idea is that the page outputs the variables
you need, sanitized and ready to consume in JavaScript, and you simply pass them
along to the analytics packages.

This plugin does not do anything except publish the values you need as JavaScript
variables; to make it useful you need to incorporate it into an analytics package
and refer to the variables.

Currently, it populates the global variable `window.WCPAYLOAD` with an object structure
which, at a minimum, has a member `type` which determines the structure.

The possible values for `type` are:

 * `cart`
 * `checkout`
 * `order-confirmation`

The types `cart` and `checkout` are nearly identical and place the majority of the
values in the `cart` member. `order-confirmation` is similar, but places the majority
of the values in the `order` member.

You can view the source file `output-samples.php` in the plugin directory to see
samples of the structure that is output. Values and types should be self-explanatory,
they are output directly using **[WooCommerce API](https://docs.woocommerce.com/wc-apidocs/package-WooCommerce.Classes.html)**
calls.

#### Contribute

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

#### Author

[Kent Davidson](https://github.com/razzed)

## Ìgbéwọlẹ̀

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.

There is currently no configuration of this plugin, but to confirm itÌtumọ̀ Yorùbá:’
s working you can view the source of the cart, checkout, and order confirmation 
page and look for a global variable called WCPAYLOAD on the page. If you find it,
itÌtumọ̀ Yorùbá: ’s working.

#### Minimum Requirements

 * WooCommerce 2.0
 * PHP version 5.3 or greater

## FAQ

  Does it work with WooCommerce 2 and WooCommerce 3?

Yes, there are compatibility code written which detects whatÌtumọ̀ Yorùbá: ’s available
and then does the right thing. Testing with WooCommerce 2 has not been extensive
so if you find issues, please contact us and report any bugs. We like to be responsive.

  I installed it but it doesnÌtumọ̀ Yorùbá: ’t seem to do anything?

It doesnÌtumọ̀ Yorùbá: ’t do anything on its own; it simply updates your page state
so that a global variable `WCPAYLOAD` is set to the current cart state, or order
confirmation state. You need to then connect this to your preferred analytics package
to add the events as you wish.

  Would you add a feature which does X?

Yes, probably. If you donÌtumọ̀ Yorùbá: ’t ask you donÌtumọ̀ Yorùbá: ’t get.

  I notice you donÌtumọ̀ Yorùbá: ’t have any advertising or anything, whatÌtumọ̀
Yorùbá: ’s that about?

No one actually asks this question, but I found the other plugins out there which
have advertising and “Pro” upgrade plans to be annoying. So I wrote this. Enjoy.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Conversion Tracking for WooCommerce” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn
wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ marketacumen ](https://profiles.wordpress.org/marketacumen/)

[Túmọ̀ “Conversion Tracking for WooCommerce” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/conversion-tracking-for-woocommerce)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/conversion-tracking-for-woocommerce/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/conversion-tracking-for-woocommerce/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/conversion-tracking-for-woocommerce/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/conversion-tracking-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### Version 1.0.2 (27-July-2018)

 * Version bump didnÌtumọ̀ Yorùbá: ’t seem to take, so trying again with new version
   number.

#### Version 1.0.1 (25-July-2018)

 * Fixed issue with `customer` value not being populated for guest orders. Updated`
   readme.txt` to fix layout issue.

#### Version 1.0.0 (10-July-2018)

 * Initial release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.2**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 7 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 4.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **5.2.24**
 *  Ẹ̀yà PHP ** 5.3 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/conversion-tracking-for-woocommerce/)
 * Àwọn àmì
 * [commerce](https://yor.wordpress.org/plugins/tags/commerce/)[e-commerce](https://yor.wordpress.org/plugins/tags/e-commerce/)
   [ecommerce](https://yor.wordpress.org/plugins/tags/ecommerce/)[tracking](https://yor.wordpress.org/plugins/tags/tracking/)
   [woocommerce](https://yor.wordpress.org/plugins/tags/woocommerce/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/conversion-tracking-for-woocommerce/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

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

[See all reviews](https://wordpress.org/support/plugin/conversion-tracking-for-woocommerce/reviews/)

## Àwọn Olùkópa

 *   [ marketacumen ](https://profiles.wordpress.org/marketacumen/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/conversion-tracking-for-woocommerce/)