Forum Moderators: open

Message Too Old, No Replies

A/B Testing on IIS

Looking to perform a layout change on the fly

         

werty

4:42 pm on Apr 1, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I am creating a site with 2 layouts and am looking to test between the two and want them pulled/displayed randomly.

There are two ways of doing it:
1 - 2 unique pages in a folder and one is displayed
2 - 2 includes that call the other proper includes, and randomize the main include

They need to be the exact same url.

The tracking will be done by the includes on the page, so I will be able to track impressions and clicks.

Thanks in advance.

mattglet

7:24 pm on Apr 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not sure what you're asking... You listed 2 possibilites on how to accomplish your goal. You looking for pros/cons, or other ideas?

werty

9:59 pm on Apr 1, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Either other ideas or how to actually perform what my solutions are...I know what is needed but sure how to do it.

I did research for randomize ssi and came up with blanks.

bcc1234

10:36 pm on Apr 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whatever solution you end up with, make sure you account for the returning visitors.
Your randomizer needs to set a cookie if one is not returned, storing it's choice for this visitor. And if a visitor returns a cookie then redirect to that choice.

mattglet

3:33 am on Apr 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



werty-

Not how much/if any ASP knowledge you have, but this post lays the foundation of what you need to do:
[webmasterworld.com...]

Also refer to message #4's link.

You need to make a randomizer that outputs either choice 1 or choice 2 (or choice 3, etc.). Your Select Case statement then performs the corresponding Server.Execute() to include the correct file.

httpwebwitch

4:23 am on Apr 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use a script that uses date()%2 or some similar algorithm to switch A/B; to change the content or stylesheet or whatever.


if(timer%2){
include page source A
}else{
include page source B
}

you'll run into problems if the two pages have C# headers and other directive swag. If so then there are other ways to do the same thing.


C# swag...
int state=0
void Page_Load(){
if(timer%2){
state=1
define A stuff
}else{
define B stuff
}
<html>
<%
if (state==0){
// show A HTML
}else{
// show B HTML
}
%>
</html>

by using a different tracking ID for the two states you'll be able to compare them fairly for CTR

httpwebwitch

4:29 am on Apr 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the advice in that other thread is a little misleading. you can't do a conditional include, but the includes can be executed conditionally!

Ask me about this tomorrow ~ir