github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

apatten-kidzui / website_optimizer

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 9
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Plugin with helpers for use with Google Website Optimizer — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fix for strict doc types 
apatten-kidzui (author)
Fri Mar 13 11:04:03 -0700 2009
commit  e5561b83a7ebc4cf2da6364f5251959996485d73
tree    4cb677f4798bc797cd459d9f46387f5ac94a556c
parent  f4eaed76fb4aa02b0a6c803e0eaa85aed7a3b292
website_optimizer /
name age
history
message
file MIT-LICENSE Tue Dec 30 11:21:02 -0800 2008 Initial Commit [apatten-kidzui]
file README.rdoc Mon Mar 09 19:28:40 -0700 2009 Updated for latest version of GWO for use with ... [apatten-kidzui]
file Rakefile Loading commit data...
file init.rb
directory 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

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server