Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srom/easyab
⚠️ Unmaintained ⚠️ | A jQuery plugin for easily setting up A/B tests using Google Analytics.
https://github.com/srom/easyab
Last synced: about 2 months ago
JSON representation
⚠️ Unmaintained ⚠️ | A jQuery plugin for easily setting up A/B tests using Google Analytics.
- Host: GitHub
- URL: https://github.com/srom/easyab
- Owner: srom
- License: mit
- Created: 2013-06-20T22:55:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-10T17:12:18.000Z (over 6 years ago)
- Last Synced: 2024-10-23T02:54:45.122Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 108 KB
- Stars: 168
- Watchers: 12
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚠️ This project is no longer maintained ⚠️
easyAB is a light-weight (< 2 Ko) jQuery plugin for easily setting up A/B and multivariate tests using Google Analytics.
This tool aims at helping entrepreneurs and tech savvy people building better landing pages for their projects and products.
## Quick start
```javascript
// 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'); }
}
],
});
```## License
Copyright 2013 [Romain Strock](https://twitter.com/romainstrock) - [MIT License](https://github.com/srom/easyAB/blob/master/LICENSE)