contribute
v0.0.4
Published
Contribute user actions to Google Analytics Account - works with proxy
Downloads
34
Maintainers
Readme
This is contribute to google Analytics - behind proxy without setting proxy
Install
npm install contribute
Usage
var contribute = require("contribute");
var config = {
googleId : 'UA-xxxxxxxx-1',
googleSite : 'xxxxxxxx.github.io'
};
contribute.init(config);
contribute.trackEvent("category", "action", "label");
contribute.trackPage("pagetitle", "this/is/page");