Google Analytics API for Node projects

npm install nodealytics
22 downloads in the last day
126 downloads in the last week
335 downloads in the last month


(Formerly Googalytics)

Simple node module to send custom server-side events to Google Analytics

Heavily influenced by the Gabba project from the guys at the Hybrid Group (



var NA = require("nodealytics");
NA.initialize('UA-12345678-1', '', function () {
  NA.trackPage('page title', 'pageName', function (err, resp) {
    if (!err, resp.statusCode === 200) {
      console.log('it worked!');

What do those variables mean?!

The answers, as per usual, can be learned from the Google:

npm loves you