Client-side user data tracker
- URL parameters
- cookies
- search query
- referer URL
- browser parameters
- OS parameters
- timezone
npm install --save analyzer
var anl = analyzer(options[, callback]);
Set path for sending request data. If path is not set, data is not sent.
Set site ID
Set callback for push data request
Research user data and send again with callback, which will be called instead of analyzer global callback.
analyzer.push(function(req) {
});
req
is user data array aggregated by analyzer
Tracker send GET request to defined path
Site ID
User ID
Current page URL
Referer page URL
Campaign parameters array (utm)
Search query
Page cookies
Browser name
Browser version
Browser language
OS name
OS version
User date and time, example 17.01.2013 17:34
User timezone, example UTC 7
User screen resolution
MIT