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
tests
.gitignore
LICENSE
Makefile
README.md
build.json
index.js
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
});