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


Last updated

Integrating Miva with VWO allows you to run A/B testing campaigns on your Miva merchant website using VWO. The end-to-end process of integrating Miva with VWO involves the following steps:

  1. Adding VWO Smart Code
  2. Setting up revenue tracking

Adding VWO Smart Code

  1. Sign in to your Miva account for the webstore and select User Interface under Menu.miva1
  2. On the User Interface page, select the Settings tab.miva2
  3. Paste your VWO Smart Code in the Head Tag Content field. To learn how to access your VWO Smart Code, click here.miva3
  4. To save changes, click Update.

Setting Up Revenue Tracking

  1. Sign in to the administrator dashboard of your Miva account.
  2. Select User Interface and go to the Pages tab.miva5
  3. On the Pages tab, locate the Invoice Page item. You can also search in the right corner by typing INVC.
  4. To edit the page, click the left hover button (indicated in the figure below).miva6
  5. In the Edit Page window, paste the following code snippet. You must paste the script above the </mvt: item> tag.
    <script type="text/javascript">
    var _vis_opt_revenue = window.Order[2];
    window._vis_opt_queue = window._vis_opt_queue || [];
    window._vis_opt_queue.push(function() {_vis_opt_revenue_conversion(_vis_opt_revenue);});
  6. To save changes, click Update.

Congratulations! Your Miva store is now integrated with VWO.

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.

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