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.
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.
After the plug-in is installed, go to WooCommerce and then click Conversion Tracking.
Enable the Custom option and add the following code in the Successful Order textbox.
window._vis_opt_queue = window._vis_opt_queue || ;
window.VWO = window.VWO || ;
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.