Solved! Go to Solution.
Hi Daniel, In Marketo you can't do tests on forms, but on pages. You're not using a Marketo page. So out of the box you can't test want you want to test.
However.... If you use a Google variant test you can. in 50% of the times you paste in the code for form 1 and the other 50% of the times the code for form 2. Obviously Google would be able to present you with the results based on the amount of conversions (thank you page). But in Marketo you could just check which form has the most form fills outs, as both receive equal amount of views.
If you're good with PHP or javascript you could also easily write a short script that randomly puts in code 1 or code 2. Example:<?php
//which gives 0 or 1
$whichcode = rand(0, 1);
if ($whichcode == 1) { print "code of form1"; } else { print "code of form 2"; }
?>
Please note that the example above doesn't evenly distribute 50/50.
?>
Hi Daniel, In Marketo you can't do tests on forms, but on pages. You're not using a Marketo page. So out of the box you can't test want you want to test.
However.... If you use a Google variant test you can. in 50% of the times you paste in the code for form 1 and the other 50% of the times the code for form 2. Obviously Google would be able to present you with the results based on the amount of conversions (thank you page). But in Marketo you could just check which form has the most form fills outs, as both receive equal amount of views.
If you're good with PHP or javascript you could also easily write a short script that randomly puts in code 1 or code 2. Example:<?php
//which gives 0 or 1
$whichcode = rand(0, 1);
if ($whichcode == 1) { print "code of form1"; } else { print "code of form 2"; }
?>
Please note that the example above doesn't evenly distribute 50/50.
?>