Forum Moderators: open
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.
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.
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