google-analytics-js

0.1.2 • Public • Published

google-analytics-js

JavaScript mini library to track usage of injected script via Google Analytics.

This project is a mini JavaScript library to track using of your bookmarklets or JavaScript includes when injected in to another web site.

The function can be called multiple times, so it could be a conditional call or it could be used to track Ajax requests within your page.

Usage

gaTrack('UA-123456', 'yoursite.com', '/js/script.js');

Automatically exported from https://code.google.com/p/google-analytics-js on 2015-07-26.

Originally by @remy.

Package Sidebar

Install

npm i google-analytics-js

Weekly Downloads

215

Version

0.1.2

License

MIT

Unpacked Size

6.46 kB

Total Files

6

Last publish

Collaborators

  • adjohnson916