Skip to content
/ easyAB Public
forked from srom/easyAB

A jQuery / Zepto plugin for easily setting up A/B and Multivariate tests using Google Analytics.

License

Notifications You must be signed in to change notification settings

mrsarac/easyAB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easyAB is a light-weight (< 2 Ko) jQuery / Zepto plugin for easily setting up A/B and multivariate tests using Google Analytics.
This tool aims at helping entrepreneurs and tech savvy building better landing pages for their projects and products.

Quick start

// change the color of .my-button for 50% of my visitors and
// track the users with analytics using a single method!
$('.my-button').easyab({
  'slot': 5, // set the custom var on the slot 5
  'name': 'test-button',
  'default-value': 'green',
  'alternatives': [
    {
      // set an alternative
      'value': 'blue',
      'alternative': function($this) { $this.css('background-color', 'blue'); }
    }
  ],
});

Comprehensive doc: srom.github.io/easyAB/

Road map

License

Copyright 2013 Romain Strock - MIT License

githalytics.com alpha

About

A jQuery / Zepto plugin for easily setting up A/B and Multivariate tests using Google Analytics.

Resources

License

Stars

Watchers

Forks

Packages

No packages published