This website works best with JavaScript enabled. Learn how to enable JavaScript.


Last updated

To integrate VWO with the WooCommerce ecommerce platform, you can search for the Visual Website Optimizer plug-in in the WordPress directory, and then follow the installation guide.

If the installation does not start automatically and downloads as a .zip file, extract the files in your blog directory /wp-admin/plugins/. Next, activate the plug-in, and then enter your VWO account on the configuration page of the plug-in.

Track the Revenue by Using VWO

To track the revenue on your WooCommerce website, add VWO code to your website code by using the WooCommerce admin panel.

  1. Download the WordPress plug-in here, and then extract the files to your website directory /wp-admin/plugins/. Alternatively, go to the Plugins tab on your admin panel. Search for woocommerce-conversion-tracking in the WP plug-in store. Follow the installation instructions, and then activate the plug-in.
  2. After the plug-in is installed, go to WooCommerce and then click Conversion Tracking. Next, enable the Custom option and add the following code in the Successful Order textbox. 

    <script type="text/javascript">

    window._vis_opt_queue = window._vis_opt_queue || [];

    window._vis_opt_queue.push(function() {



    window.VWO = window.VWO || [];

    window.VWO.push(['track.revenueConversion', {order_total}]);


  3. In most cases, the revenue goal is triggered on the Thank You page that displays after visitors complete a successful transaction. 

Note: If the revenue value is added as comma separated value without decimals, VWO by default replaces the comma (,) with a decimal. For example, if you enter the value as 1,500, the comma is replaced with decimal as 1.5. Please make sure to add the revenue value without the comma (,) such as 1500 or 1500.0.

Configuring Integration in VWO

Sign in to your VWO dashboard, and then create a revenue goal on the checkout/order-received page.Your WooCommerce website is now configured with VWO, and the revenue goal tracking is also configured.

Was this article helpful?

Thanks for your feedback!
Please email us at to tell us what you were looking for. We'll send the answer to your inbox.

Contact Us / Login