universal-analytics-koa

0.0.7 • Public • Published

Universal Analytics Koa - NodeJS

A fork of Peaks & Pies universal-analytics with added support for koa framework middleware.

Usage

var ua  = require("universal-analytics");
var koa = require("koa");
var app = koa()
 
app.use(ua.koa("UA-XXXX-Y"));

The middleware will attach the visitor instance to every request (this.req.visitor).

The Rest of the Documentation

https://github.com/peaksandpies/universal-analytics

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.70latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.70
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10
0.3.40

Package Sidebar

Install

npm i universal-analytics-koa

Weekly Downloads

0

Version

0.0.7

License

MIT

Last publish

Collaborators

  • otothea