WordPress.org

Ready to get started?Download WordPress

Forums

A/B Test plugin (8 posts)

  1. Storyman
    Member
    Posted 6 years ago #

    Has anyone developed a plugin that will allow A/B testing for WordPress Pages?

    My goal is to compare 2 different prices for the same product.

  2. flick
    Member
    Posted 6 years ago #

    @Storyman: I'm actually a little confused by your question here, so was wondering if it might be possible for you to elaborate further please?

    Thanks!

  3. Storyman
    Member
    Posted 6 years ago #

    Let's say there are three different visitors: Alecia, Bob, and Cindy. When Alecia visits and clicks on the sales page she sees version #1.

    The next visitor is Bob and when he clicks on the sales page he sees version #2.

    When Cindy visits and clicks on the sales page she sees page version #1.

    Obviously, the visitor after Cindy sees version #2 of the sales page.

    Whenever Alecia and Cindy visit the sales page they continue to see version #1 of the sales page. Bob will always see version #2. (Understandably none of this is true if a users cleans out their cookies after each visit.)

    I hope that clarifies what I'm after for A/B testing.

  4. Storyman
    Member
    Posted 6 years ago #

    After some additional searching it appears that Google's Website Optimizer is the tool that will work. Here's how:

    1) Use page templates to assign an unique PHP page for page 'A' (the original page), page 'B' (the page being tested against), and finally an unique template for the conversion page.

    2) On the templates for page 'A' insert the javascript next to the tag <body>.

    3) Make 3 copies of footer.php and rename them footer-a.php, footer-b.php, and footer-c.php.

    4) Rename the include code for footer.php on each of the templates (A, B, & C) to access the associated footer-X.php page.

    5) Insert the javascript provided by Google's Website Optimizer for footer A, B, and C(onversion) on the appropriate footer page.

    When a visitor goes to the original page ('A') the javascript next to <body> will determine if 'A' or 'B' will be delivered. Website Optimizer then tracks the number of visitors to the conversion page--letting you know whether A or B is better at driving traffic to the conversion page.

  5. flick
    Member
    Posted 6 years ago #

    Thanks for the info, Storyman. Have to admit this is the first time I've come across this method, but thank you for posting your solution!

  6. neilmac
    Member
    Posted 6 years ago #

    I was searching on this same subject today and just found a Google Website Optimizer plugin http://websiteoptimizer.contentrobot.com/
    Has anybody got any observations, good or bad about it, or experience?

  7. Wonderbaum
    Member
    Posted 5 years ago #

    Storyman, I would really like to try out your solution because I can't get either the ContentRobot plugin or the http://www.impressionengineers.com/wordpress/easy-google-optimizer-plugin/ plugin to work.

    It would be great if you could explain in a little more detail how you've done it. Thanks in advance.

  8. ryannagy
    Member
    Posted 5 years ago #

    I have never been able to get google website optimizer to work on a WordPress blog. I end up creating several html pages when I need to optimize.

    -Ryan

Topic Closed

This topic has been closed to new replies.

About this Topic