A/B Test with Convert.com


If you’re using Convert Experiences to run A/B tests on your form, you can track the performance of each version in Zuko by following these steps and setting a Custom Attribute for the Variants and Original.

Step 1 - Add Tracking Code Snippets

Make sure the Convert tracking code is installed on your page.

Create a Zuko account and ensure that the tracking is successfully added to your form.

Step 2 - Create a JS variable

Open up your Convert account, and click the Edit button on your Variation:

mceclip1.png

From the Visual Editor, select the Custom JS and add this variable:

mceclip4.png

window.convertvariantzuko = 'variant_1';

You can change ‘variant_1’ - the latter should match the name you’ve given you variant. For example it might be called ‘Button Colour Change’ or something similar.

Now, every time that Variant loads, a variable is going to be set. Now you need to amend your Zuko tracking tag to look for this attribute and send it to Zuko.

Step 3 - Modify Zuko Tracking Code

Open your Zuko tracking script and add the following line:

.setAttribute('Convert Variant', window.convertvariantzuko || 'Not Set')

You can add this between the slug line and the form view event line.

‘Convert Variant’ can be changed - this is simply how this will appear in Zuko under the filter drop down menu.

You need to ensure that ‘window.convertvariantzuko’ exactly matches what you’ve set up in the JS variable in the previous step, otherwise the Zuko tracking script will error.

Step 4 - View Convert data in your Zuko account

You should now be able to use the filter functionality in Zuko to view the performance of each variant.

If the visitor sees the variant of the page, an attribute of ‘variant_1’ will be pushed into Zuko, and you will be able to select it from the filter drop down menu in all of your reports.

If the visitor sees the original, an Attribute of ‘Not Set’ will appear in Zuko instead.

You can repeat the above for any form and any number of variants that you have set up in Convert, so you will be able to filter your Zuko data to examine how the form-fill behaviour differs across different versions of your form.

See more guides
zuko full colour logo
Formisimo Ltd, Colony, 5 Piccadilly Place, Manchester, M1 3BR
VAT Number: GB181252425
Registered in England as company number 08859680
New Business: sales@zuko.io
Support: support@zuko.io