0.1.2 • Published 5 years ago

google-analytics-js v0.1.2

Weekly downloads
70
License
MIT
Repository
github
Last release
5 years ago

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.