1.2.0 • Published 9 years ago

democracyos-ga v1.2.0

Weekly downloads
5
License
MIT
Repository
-
Last release
9 years ago

ga

Google Analytics tracking snippet You might want to use code42day/ua instead - it supports new Google Universal Analytics snipper.

Installation

$ component install code42day/ga

API

Activate Google Analytics on the page and track page

require('ga')("UA-XXXX-X");

Alternatively you can define GA property ID as a data attribute of document body

Check test/index.html for example.

License

MIT