- Download the latest release.
- Clone the repo:
git clone https://github.com/mashape/analytics-agent-jquery.git
. - Install with Bower:
bower install jquery-analytics
. - Install with npm:
npm install jquery-analytics
. - Install with SPM:
spm install jquery-analytics
.
analytics-agent-jquery/
└── js/
├── jquery.analytics.js
└── jquery.analytics.min.js
Include jQuery Analytics
after jQuery
.
$.Analytics('Place Service Token Here')
Done. Now every global ajax request will be logged in API Analytics.
- jQuery
1.7+
- API Analytics
Service Token
Copyright Mashape Inc, 2015.
Licensed under the MIT License.