Get the book

Go Back   Zen Cart Support > Community Contributed Add-Ons > All Other Contributions/Addons

All Other Contributions/Addons Discussion of addons not categorized above

Reply
 
Thread Tools Display Modes
Old 14th July 2009, 02:51 PM   #1
data_digger
Zen Follower
 
Join Date: Jan 2009
Posts: 185
Default Randomized Test

This is support thread for my new module - Randomized Tests.
Please report here all bugs, installation problems and feature requests


This module allows You to perform experiments on Your website. You can test for example how Your new 'Add to Cart' button performs compared to old one.
Sample image:http://www.data-diggers.com/contribs...stats_demo.jpg

Download it here. - The link points to my website. I'll change it as soon as this module will be added to download area.
This module requires also my UTI contribution to work. Download it here.

More info (probably screencast) will be later posted on my website: http://www.data-diggers.com

Installation instructions are in .zip file.

To create experimnent follow these steps:
  1. Go to Admin->Tools->[RT] Groupsets.
  2. Create groupset (it's set of groups). Call it 'Basic Test Groupset'.
  3. Click on Basic Test Groupset - You will be forwarded to page where You can edit it.
  4. Each groupset must have EXACTLY one control group. I usually call it 'Control Group'. Create two groups (you can create as many groups in groupset as You want, but for simplicity We use 2 now):
    - Control Group - with id 'cg' (as ControlGroup). Check 'control group' checkbox
    - Test Group - with id 'tg'. DO NOT check 'control group' checkbox.
  5. Go to Admin->Tools->[RT] Experiments.
  6. Create Experiment 'Exp #1' using groupset 'Basic Test Groupset'.
  7. Click on Exp #1 - You will be forwarded to its stats:
    - Impressions - in this version of Randomized Tests its simply number of visitors in each group
    - Customers Registered - (visitor to customer conversion rate) / (change in regard to control group) / (total count of newly registered customers in this group)
    - Orders Placed - (visitor to order conversion rate) / as above / (total number of orders visitors in this group placed)
    - Items Bought - (avg. size of order) / as above / (total number of items bought)
    - Orders Value - (avg. order value) / as above / (total orders value)

Ok, You've created experiment, now You have to create two versions of Your page. Let's assume that You want to change 'Add to Cart' button on product_info page. Edit includes/templates/your_template/templates/tpl_product_info_display.php.
Find code responsible for displaying 'Add to Cart' button - in my case it's:
PHP Code:
echo $display_button
Change it to:
PHP Code:
// $exp is global variable (it's instance of ExperimentManager defined in includes/classes/randomized_tests.php) and holds basic information about experiment and group to which has been assigned current visitor
// $exp->groupID is 'id' of group that You assigned in step 4. You can use it to detect in which group is current visitor and perform custom action.
if($exp->groupID == 'tg') {
// visitor has been assigned to Test Group
echo $display_my_new_button;
} else {
// user is in Control Group - We don't change anything
echo $display_button;

You're done. Wait until experiment becomes statistically significant ( >2000 visitors in each group, many orders ) and check results.
__________________
data_digger,
Query Cache v1.5 Reduce query count by 80% | Randomized Tests
www.data-diggers.com
data_digger is offline   Reply With Quote
Old 14th July 2009, 03:07 PM   #2
data_digger
Zen Follower
 
Join Date: Jan 2009
Posts: 185
Default Re: Randomized Test

This module requires PHP >= 5
__________________
data_digger,
Query Cache v1.5 Reduce query count by 80% | Randomized Tests
www.data-diggers.com
data_digger is offline   Reply With Quote
Old 16th July 2009, 01:14 AM   #3
swamyg1
Zen Follower
 
Join Date: Dec 2008
Location: San Fran
Posts: 221
Default Re: Randomized Test

Wow, this looks very impressive. Excellent concept and great to have it built into zencart itself. Gonna have to give it a shot.
swamyg1 is offline   Reply With Quote
Old 16th July 2009, 03:25 AM   #4
yellow1912
Totally Zenned
 
Join Date: Oct 2006
Posts: 5,464
Default Re: Randomized Test

Nice one, a/b split testing inside zen is pretty awesome.
__________________
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
yellow1912 is offline   Reply With Quote
Old 16th July 2009, 08:45 AM   #5
data_digger
Zen Follower
 
Join Date: Jan 2009
Posts: 185
Default Re: Randomized Test

Thanks!

I already work on new version - current has one big flaw. It's impossible to treat outliers in some special way (ignore them/assign to special group/...). By outliers I mean:
  • super customers - every site has them ( customers that place - possibly multiple - orders every day and each order is for many items ). Group containing such customer is probably biased.
  • super orders - very large orders that happen rarely / as above
__________________
data_digger,
Query Cache v1.5 Reduce query count by 80% | Randomized Tests
www.data-diggers.com
data_digger is offline   Reply With Quote
Old 16th July 2009, 02:38 PM   #6
swamyg1
Zen Follower
 
Join Date: Dec 2008
Location: San Fran
Posts: 221
Default Re: Randomized Test

For the UTI module, should there be a completely new "includes" directory, inside the "includes directory? I'm assuming this directory is duplicated for testing purposes, otherwise it wouldn't be there.

Not completely sure though!
swamyg1 is offline   Reply With Quote
Old 16th July 2009, 03:15 PM   #7
data_digger
Zen Follower
 
Join Date: Jan 2009
Posts: 185
Default Re: Randomized Test

Quote:
Originally Posted by swamyg1 View Post
For the UTI module, should there be a completely new "includes" directory, inside the "includes directory? I'm assuming this directory is duplicated for testing purposes, otherwise it wouldn't be there.

Not completely sure though!
Files from includes/includes are needed but they should be in includes/ . I've packed uti module again and You can download corrected version from:
http://www.data-diggers.com/contribs...ti-current.zip
I'm also uploading it to zen cart addons now.

First remove 'includes' directory in 'includes' directory (includes/includes) and then just upload new UTI.
__________________
data_digger,
Query Cache v1.5 Reduce query count by 80% | Randomized Tests
www.data-diggers.com
data_digger is offline   Reply With Quote
Old 18th July 2009, 02:21 AM   #8
swamyg1
Zen Follower
 
Join Date: Dec 2008
Location: San Fran
Posts: 221
Default Re: Randomized Test

Hi, I'm wondering if anybody has this running yet... would like to get feedback on how the A/B testing functionality works.

Anybody?
swamyg1 is offline   Reply With Quote
Old 18th July 2009, 02:44 PM   #9
data_digger
Zen Follower
 
Join Date: Jan 2009
Posts: 185
Default Re: Randomized Test

What You want to know?
__________________
data_digger,
Query Cache v1.5 Reduce query count by 80% | Randomized Tests
www.data-diggers.com
data_digger is offline   Reply With Quote
Old 18th July 2009, 04:06 PM   #10
yellow1912
Totally Zenned
 
Join Date: Oct 2006
Posts: 5,464
Default Re: Randomized Test

Quote:
Originally Posted by swamyg1 View Post
Hi, I'm wondering if anybody has this running yet... would like to get feedback on how the A/B testing functionality works.

Anybody?
I do plan to use this on some stores in the next few weeks. I will report back results.
__________________
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
yellow1912 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making test purchases/test mode robinstl General Questions 1 2nd February 2009 06:20 AM
How to test a check out experience with test payment and all? hamspots General Questions 3 23rd January 2009 05:50 AM
CURL Test Fails Linkpoint Test communicasting Built-in Shipping and Payment Modules 8 12th November 2008 05:08 PM
Truly randomize New Products list? (they only seem randomized within a small group) Yuchant Templates, Stylesheets, Page Layout 4 23rd October 2007 01:31 PM
New Products - Non randomized Yyrkoon Basic Configuration 1 29th September 2006 06:50 AM


All times are GMT +1. The time now is 04:10 PM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009, 2010 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads