GithubHelp home page GithubHelp logo

cohorts's People

Contributors

jmfanizza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cohorts's Issues

Why do we need these

$('p.message').click(function () {
hello-goodbye.event('Clicked on message'); // Track any evens with your storage adapter
});

Isn't this loaded every time page is loaded. Also can we track goal conversions using this?

Thanks for the inspiration!

Hi @jamesyu,

Just wanted to drop a quick note to say thanks for creating and open-sourcing cohorts. I ended up creating a different open-source project heavily influenced by it, so I thought I'll let you know.

It's called AlephBet and available on github.

I'd really appreciate any feedback.

Limits regarding cookie sizes

Thanks for the code! Wondering if there is a limit to the number of experiments we can run, since we're using cookies ? Also, aren't cookies sent to the server all the time, wasting bandwidth ?

Issue with prototype.js

Hi

I have found a bug on websites running any version of prototype.js
The bug occurs in the Utils.size method were it returns 37 on an object with two "custom" properties (two cohorts).
(It should return 2, as it does on a website without prototype)

The fix is easy:
size: function(object) {
return Object.keys(object).length
},

Track cohort in _setCustomVar at Visitor level scope

Typically, most experimentation platforms will look at unique visitors and unique conversions. This is important because people may be influenced by a particular change in any one of their visit sessions to the site.

Basically, we need to update the storage adapter to capture this data:

_gaq.push(['_setCustomVar',{slot},{name},{value},{scope}],['_trackEvent'...]);

I suggest we allow for setting the {scope} and setting the {slot}. The name and the value can be pre-filled using the test parameters. Note it must be called before _trackEvent().

Full instructions are here: https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.