Title: Conversion Tracking for WooCommerce
Author: marketacumen
Published: <strong>जुलाई 15, 2018</strong>
Last modified: जुन 17, 2019

---

प्लगिनहरू खोज्नुहोस्

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

यो प्लगिन **वर्डप्रेसका ३ प्रमुख नवीनतम रिलीजहरूसँग परीक्षण गरिएको छैन**। यो अब 
सम्भवतः व्यवस्थित वा समर्थन नभएको हुन सक्छ र वर्डप्रेसका नयाँ संस्करणहरूमा प्रयोग
गर्दा अनुकूलता सम्बन्धी समस्या हुन सक्छ।

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

# Conversion Tracking for WooCommerce

 [marketacumen](https://profiles.wordpress.org/marketacumen/) द्वारा

[डाउनलोड गर्नुहोस्](https://downloads.wordpress.org/plugin/conversion-tracking-for-woocommerce.1.0.2.zip)

 * [विवरण](https://ne.wordpress.org/plugins/conversion-tracking-for-woocommerce/#description)
 * [समीक्षाहरू](https://ne.wordpress.org/plugins/conversion-tracking-for-woocommerce/#reviews)
 *  [स्थापना](https://ne.wordpress.org/plugins/conversion-tracking-for-woocommerce/#installation)
 * [विकास](https://ne.wordpress.org/plugins/conversion-tracking-for-woocommerce/#developers)

 [सहायता](https://wordpress.org/support/plugin/conversion-tracking-for-woocommerce/)

## विवरण

**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)

## स्थापना

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’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’s working.

#### Minimum Requirements

 * WooCommerce 2.0
 * PHP version 5.3 or greater

## प्रश्नोत्तर

  Does it work with WooCommerce 2 and WooCommerce 3?

Yes, there are compatibility code written which detects what’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’t seem to do anything?

It doesn’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’t ask you don’t get.

  I notice you don’t have any advertising or anything, what’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.

## समीक्षाहरू

यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।

## योगदानकर्ता र डेभलपरहरू

“Conversion Tracking for WooCommerce” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले
यो प्लगिनमा योगदान गरेका छन्।

योगदानकर्ताहरू

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

[“Conversion Tracking for WooCommerce” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्](https://translate.wordpress.org/projects/wp-plugins/conversion-tracking-for-woocommerce)

### विकासमा रुचि छ?

[आरएसएस](https://plugins.trac.wordpress.org/log/conversion-tracking-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss)
द्वारा [कोड ब्राउज गर्नुहोस्](https://plugins.trac.wordpress.org/browser/conversion-tracking-for-woocommerce/),
[एसभीएन रिपजिटरी](https://plugins.svn.wordpress.org/conversion-tracking-for-woocommerce/)
हेर्नुहोस्, वा [विकास लग](https://plugins.trac.wordpress.org/log/conversion-tracking-for-woocommerce/)
को सदस्यता लिनुहोस्।

## चेन्जलग

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

 * Version bump didn’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

## मेटा

 *  संस्करण **1.0.2**
 *  पछिल्लो अपडेट **7 वर्ष अघि**
 *  सक्रिय स्थापना **10+**
 *  वर्डप्रेस संस्करण ** 4.0 वा उच्च **
 *  जाँच गरिएको **5.2.24**
 *  PHP संस्करण ** 5.3 वा उच्च **
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/conversion-tracking-for-woocommerce/)
 * ट्यागहरू
 * [commerce](https://ne.wordpress.org/plugins/tags/commerce/)[e-commerce](https://ne.wordpress.org/plugins/tags/e-commerce/)
   [ecommerce](https://ne.wordpress.org/plugins/tags/ecommerce/)[tracking](https://ne.wordpress.org/plugins/tags/tracking/)
   [woocommerce](https://ne.wordpress.org/plugins/tags/woocommerce/)
 *  [उन्नत दृश्य](https://ne.wordpress.org/plugins/conversion-tracking-for-woocommerce/advanced/)

## रेटिङ्गहरू

अहिलेसम्म कुनै समीक्षा पेस गरिएको छैन।

[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/)

## योगदानकर्ताहरू

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

## सहायता

केही भन्नु छ? सहयोग चाहियो?

 [सहायता फोरम हेर्नुहोस्](https://wordpress.org/support/plugin/conversion-tracking-for-woocommerce/)