Help with split testing script

by 6 replies
7
Hey gang,
I need a little bit of advice on where to get some split testing code.

I currently use gwo on my landing pages but I want to test a few things on some of my sites which are on every page of the site and creating a new url for each page would be a real pain in the butt!

An example might be if I was to test which banner graphic on my content sites would give me the highest ctr to my squeeze page.

I remember watching a video of Jeff Johnston's where he talked about some code that did a split test on his niche blogs. It would test what converted better. Adsense or Amazon affiliate ads.

Any help would be greatly appreciated.
Thanks, Peter.
#programming #script #split #split test
  • Try
    vertster dot com

    This is wonderful platform for split testing and A/B testing.
    • [1] reply
    • You can also check out Google's Website Optimizer which works pretty well for split testing.
      • [1] reply
  • adtrackz.com does split testing well.

    it also builds links on the fly so you just create the link and its done. (although i usually dont set the url and just go update it in the control panel later so the links look cleaner.)
  • You could append parameter for the page, like

    www . mysite . com / index . php ? test=banner-a
    www . mysite . com / index . php ? test=banner-b

    Then, on your webpage (index.php), on the part you want to test, you type:

    $ test = $ _ GET['test'];
    if ( test == banner-a )
    {
    < img src = "banner-a.gif" />
    }
    elseif ( test == banner-b )
    {
    < img src = "banner-b.gif" />
    }

    That way, you don't have to recreate yet another same page for every test because the switch is on the same page.

    You mentioned that you are doing it on all of your content pages, I would recommend you to save the code above as banner.php, and add the following code on each of pages:

    < ? php include('banner.php'); ? >

    And now you can test it:
    www . mysite . com / page-123 . php ? test=banner-a
    www . mysite . com / page-123 . php ? test=banner-b

    www . mysite . com / page-abc . php ? test=banner-a
    www . mysite . com / page-abc . php ? test=banner-b

    www . mysite . com / page-789 . php ? test=banner-a
    www . mysite . com / page-789 . php ? test=banner-b

    - Rufas

Next Topics on Trending Feed