Integrations

  1. Help Center
  2. Integrations
  3. WooCommerce Integration

WooCommerce Integration

WooCommerce is an eCommerce platform for building online businesses. If you’re already using WooCommerce in WordPress, WhatConverts can track the transactions and display them in your WhatConverts dashboard.

1Download and install the WooCommerce Conversion Tracking Plugin.
2Under “WooCommerce“, select “Conversion Tracking” from the menu. Make sure you’re on the Integrations Tab, click the Custom slider to “On”.
WooCommerce conversion Tracking
3Paste the following in the Successful Order text box:

<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>

<script type="text/javascript">
$( document ).ready(function() {
wc_transaction_ypbib('{order_number}','{order_total}',{'First Name':'{customer_first_name}','Last Name':'{customer_last_name}','Email Address':'{customer_email}','Customer ID':'{customer_id}'});
});
</script>

Note: The first line of the above code can be omitted if you already have jquery loaded on your WordPress site.

4Click “Save Changes“.