SOLVED

Re: A/B testing a form embedded into a non-marketo Landing Page

Go to solution
Anonymous
Not applicable

A/B testing a form embedded into a non-marketo Landing Page

I have a form embedded into a non-marketo Landing Page for a DM campaign that will direct the customer to the landing page. I would like to create two versions of the form to test which one is most effective.

Can this be done in Marketo?

Thanks

Daniel
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: A/B testing a form embedded into a non-marketo Landing Page

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
$whichcode =
rand(0, 1);
//which gives 0 or 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.
?>

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Re: A/B testing a form embedded into a non-marketo Landing Page

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
$whichcode =
rand(0, 1);
//which gives 0 or 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.
?>

Anonymous
Not applicable

Re: A/B testing a form embedded into a non-marketo Landing Page

Brilliant, thank you!!