Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 596 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 596 Bytes

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.