This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README.rdoc | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
lib/ |
README.rdoc
WebsiteOptimizer
Adds Helper Methods for Google Website Optimizer.
*NOTE:* Assumes using you are already using ga.js for google analytics tracking.
Set Up
Add your Website Optimizer account id to config/environment.rb
WebsiteOptimizerHelper.account_id = 'UA-xxxxx-x'
Usage
Basic Set Up
Add/Verify yields in templates.
Before </head> in (x)html document
<%= yield :head %>
Before </body> in (x)html document
<%= yield :website_optimizer_tracking %>
Multivariate Test
Test Page
<% gwo_multivariate 'TEST_ID', 'DESCRIPTION' do -%>
CONTROL CONTENT
<% end -%>
Conversion Page
<% gwo_conversion_script('TEST_ID') -%>
A/B Experiment
Original Page
<% gwo_ab_control('TEST_ID') -%>
Variation Pages
<% gwo_ab_variation('TEST_ID') -%>
Conversion Page
<% gwo_conversion_script('TEST_ID') -%>
Copyright © 2008 KidZui inc., released under the MIT license








