Do you know if your landing pages, subscribe forms, or sales pages are performing at their best?
Easy A / B Testing for WordPress allows you to easily test two pages against each other so you can use the best one. This is a great tool for anyone who would like to increase conversion rates and reach their goals.
Download the files, add them to your plugins folder, activate it and you are ready to start testing.
First create two pages you would like to test. In this example we will be testing two product pages named 'Our Products'. The only difference between the two might be one page(Page A) has a green buy now button and the other(Page B) has a red buy now button.
In the page editor screen you'll see a new meta box to the right that has three fields. Make sure the Group Name for Page A and Page B are the same and make sure there are NO spaces.

Update the pages and you're ready to go. Now whenever someone is sent to one of those pages Easy A / B Testing will check which one has less views and then display that one. Regardless of which url, link, or other method was used to get there.
Cool!
Ok folks here we add goals to our pages so we can track our conversion and bounce rates.
Easy A / B Testing uses a custom short code to track goals [add-AB-goal]. The short code is placed inside the submit form of the page you are tracking and has three arguments:
[add-AB-goal this_page_slug=" " goal_slug=" " goal_url=" "]
this_page_slug - Should contain the slug of the page you are adding the short code to. Make sure to use the slug and not the title of the page because we want to be able to track two pages with the same title.
goal_slug (optional) - Should contain the slug of your goal page. Used when your goal is another page on your blog.
goal_url (optional) - Should contain the url of your goal. Used when the goal is a third party site like PayPal.
Make sure to either use goal_slug or goal_url NOT both
So in our example the short code should look like this:
<form action=" " method="post">
[add-AB-goal this_page_slug="our-products-1" goal_slug="thank-you-for-buying" ]
<input type="submit' name="buy-it" value="Buy Now">
</form>
Now for a PayPal example. This is the code PayPal gives you to add 'Buy Now' buttons to your pages.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="unique-id">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Now lets add the short code. All you have to do is put it inside the <form></form> tags. Take the contents of action out of the form put it into your short code like so:
<form action=" " method="post">
[add-AB-goal this_page_slug="our-products-1" goal_url="https://www.paypal.com/cgi-bin/webscr" ]
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="unique-id">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
It is important that no matter whether your goal is on your blog or at a third party destination you leave the form action empty like:
<form action=" " method="post"></form>
Otherwise Easy A / B Testing won't have a chance to tell if a goal was reached.
Questions & Comments