This is an old revision of the document!
Splitted index addon
Then thoughts about a new add-on:
I need to be able to split test merkalt.no front page. Meaning that I
want 50 % of the traffic to display index A and the other 50 % to show
index B. A report system should be able to send me on a daily basis how
many of the conversions was from index A and how many from index B.
I guess this needs creating a new copy of the *main templates* and a
script to show each of the templates/index 50 % of the time. Preferably
showing the same template/index to a user that refreshes browser (not
very important).
I think, the best solution will be to implement skins system on merkalt sites. Two skins folders will be created in templates/skins/ folder, and templates which used on index page will be cloned and placed in those folders. Skins system could be turned on / off via constants in corresponding section of settings.inc.php. On index page loading (if skins selection allowed in config) one of two skins will be selected. Skin ID will be saved in user session data in order to restore skin on index page refresh.
Since you need report on conversation number from each skin, I could suggest to use for this purpose clone of adstracker. In other words, copy of adstracker will be installed on merkalt.no (let say in skintracker/ folder) and will collect skin conversation statistics with possibility of creating daily reports exactly as for ads tracking system.
What do you think about this solution?
