WooCommerce

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 Settings. Next, click the Integration tab. Go to the Tags for Purchase box, and then add the following code. 
    <script type="text/javascript">
    window._vis_opt_queue = window._vis_opt_queue || [];
    window._vis_opt_queue.push(function() {_vis_opt_revenue_conversion({order_total});});
    </script>
  3. In most cases, the revenue goal is triggered on the Thank You page that displays after visitors complete a successful transaction. 

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 support@vwo.com to tell us what you were looking for. We'll send the answer to your inbox.

Contact Us / Login

Product
Resources Home