Integrating VWO with 3dcart allows you to track your website traffic and derive deeper insights to your business. After the integration, you can create A/B tests, multivariate tests, personalization, and other tests using VWO on your 3dcart website.
The end-to-end process of integrating 3dcart with VWO involves the following steps:
-
Adding VWO SmartCode
-
Setting up Revenue Tracking
Adding VWO SmartCode
-
Sign in to your 3dcart account as an administrator.
-
Select Content and then click Header & Footer.
- Add the VWO code snippet (asynchronous) to the Global Header field. Next, type your correct VWO account ID.
To check if you have correctly installed the SmartCode on your webpage, enter the URL in the SmartCode Checker in the Settings > SmartCode section of your VWO Account. See SmartCode Checker in VWO to know what different results mean. -
Select Enable.
INFO: Your VWO account ID is present in the panel at the top of the VWO app. -
Click Save Changes.
Setting Up Revenue Tracking
-
Sign in to your Store Manager.
-
Select Content and then click Titles & Content.
-
Click the Settings icon next to Checkout #4 and then click Edit.
-
Paste the following snippet in the Footer field of the checkout #4 page.
<script type = "text/javascript" >
var _vis_opt_revenue = [total_noformat];
window._vis_opt_queue = window._vis_opt_queue || [];
window._vis_opt_queue.push(function() {
_vis_opt_revenue_conversion(_vis_opt_revenue);
});
window.VWO = window.VWO || [];
window.VWO.push(['track.revenueConversion', _vis_opt_revenue]);
</script>
-
Click Save.
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.
Congratulations! Your 3dcart store is now integrated with VWO.