ga

0.0.2 • Public • Published

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
});

Readme

Keywords

Package Sidebar

Install

npm i ga

Weekly Downloads

759

Version

0.0.2

License

none

Last publish

Collaborators

  • jga