Server Side Google Analytics for Node
JavaScript Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib Merging upstream Dec 11, 2012
tests Add test for event tracking, adapt tests to errback Oct 7, 2012
.gitignore initial commit Sep 8, 2011
LICENSE added license Jan 23, 2013
Makefile initial commit Sep 8, 2011
README.md an event value can only be an integer according to the API specification Oct 7, 2012
build.json initial commit Sep 8, 2011
index.js initial commit Sep 8, 2011
package.json

README.md

Node-GA

Server side google analytics

Install

npm install ga

Usage

var ua = "UA-XXX";
var host = 'nodega.jga.me';
var ga = new GoogleAnalytics(ua, host);
ga.trackPage('testing/1');
ga.trackEvent({
    category: 'Videos',
    action: 'Video Loading',
    label: 'Gone With the Wind',
    value: 42
});