Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 20th, 2005, 10:07 AM
Registered User
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to do an a/b split test using javaScript?

im completely lost, i have a web page and we are making revisions to it and need to do a a/b test to compare the results from each the control and the revision. is there a way using javaScript to do this? any input is welcomed.

Jonathan R Whitehead
 
Old October 20th, 2005, 10:30 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

how do you mean the control and the revision?

www.crmpicco.co.uk
 
Old October 20th, 2005, 10:39 AM
Registered User
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

im trying to see if adding google adsense to the page takes away form subsricptions so
the control is the page before the adsense is added in and the revision is after adsense is added to the page. and what i'm trying to figure out is how to get the page to show up alternating the page w/o adsense with the page w/adsense. otherwise have the same url for the page but using the script to randomly either show the ads or not.

Jonathan R Whitehead
 
Old October 24th, 2005, 11:31 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

can you not put a hit counter on the control page and the revision page?

www.crmpicco.co.uk
 
Old October 24th, 2005, 01:24 PM
Registered User
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

although the use of a hit counter may help to show how many ppl goto each site what i need is a way to direct to either the control or the revision, w/o making a totaly new domain or rather another page, but what a friend has suggested to me is to make somwhat of a portal site that would direct to either the control page or the revision page, but like i said what im trying to acomplish is to not have to make another page but to use the code to either show the added content or not to show the added content on a ramdom basis.

Jonathan R Whitehead
 
Old October 24th, 2005, 01:26 PM
Registered User
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

although the use of a hit counter may help to show how many people go to each site what i need is a way to direct to either the control or the revision, w/o making a totally new domain or rather another page, but what a friend has suggested to me is to make somewhat of a portal site that would direct to either the control page or the revision page, but like i said what im trying to do is to not have to make another page but to use the code to either show the added content or not to show the added content on a random basis.

Jonathan R Whitehead





Similar Threads
Thread Thread Starter Forum Replies Last Post
To Split or Not to Split darrenb Access 2 February 8th, 2008 12:28 PM
split() darkhalf Javascript 1 October 21st, 2005 11:34 AM
Split crmpicco VB How-To 6 May 17th, 2005 04:16 AM
split crmpicco Classic ASP Basics 2 February 14th, 2005 08:48 AM
Javascript Test fs22 Javascript How-To 0 April 5th, 2004 03:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.