Skip to main content

A/B testing

If you are using an A/B testing platform to improve your CRO, it is cruical that you send the experiment and variant information into Mediahawk so you can understand which variants are giving the best results.

Sending experiment and variant information

Using the tag method you are able to send tag information into Mediahawk. Using this, you can send experiment and variant information:

var experiment = getExperiment(); //get the experiment from your provider
var variant = getVariant(); //get the variant from your provider

mhct.tag('utm_experimentid', experiment);
mhct.tag('utm_variantid', variant);
caution

Make sure you have set up the parameters you wish to capture as tags in Mediahawk