How to A/B and Split Test in Marketing Optimizer

Marketing Optimizer offers a website integration feature that allows you to track experiments and variations (A/B and Multivariate) from other services (tested in Visual Website Optimizer). Here is how it works:

  • Browse in Marketing Optimizer to Settings > Website Integration > A/B and Multivariate Testing
  • Click ‘Add Variation’
  • In ‘Experiment’ choose ‘-Add New–‘, and fill in the experiment name in the text box to the right. If you are using VWO, this would be the Test name.
  • ‘Variation Label’ will match the name you give the variation in VWO. Try to make these identical to make your life easier.
  • ‘Integration Code’ is Read Only, and while not used with VWO, can be placed in your on-site tracking code to specify a variation. This will populate after the variation has been created.
  • Within VWO, when editing the variation choose ‘Variation Settings’ in the lower right corner, and choose to edit ‘Javascript/CSS’
  • Paste the following code into each variation, where ‘apVariation’ is the ID of the variation you created in Marketing Optimizer and ‘apAccount’ is the Marketing Optimizer account id:
  • var apVariation = “_id_of_variation_in_Marketing Optimizer_”;
    var apAccount = “_id_of_account_in_Marketing Optimizer_”;

    if (typeof _apPost == ‘function’) {
    var _apVars = [];
    _apVars.push([“_setAccount”, apAccount]);
    _apVars.push([“_setTestVariation”, apVariation]);
    _apRegisterVars(_apVars);
    _apPost(_apVars);
    } else {
    var _apVars = _apVars || [];
    _apVars.push([“_setTestVariation”, apVariation]);
    }

You can then create AdHoc reports aggregated by variation, allowing you to compare the results in traffic, conversions, sales, profit, etc. for each variate. Visit the Custom Reports section to learn more about building reports.

Please check back regularly for updates and additional integration options. If you need help with this or any other feature, please contact customer support.