Socket
Socket
Sign inDemoInstall

analyzer

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    analyzer

Client-side user data tracker


Version published
Weekly downloads
631
increased by33.97%
Maintainers
1
Install size
18.8 kB
Created
Weekly downloads
 

Readme

Source

analyzer

Client-side user data tracker

  • URL parameters
  • cookies
  • search query
  • referer URL
  • browser parameters
  • OS parameters
  • timezone

Install

npm install --save analyzer

Usage

  var anl = analyzer(options[, callback]);

options.path

Set path for sending request data. If path is not set, data is not sent.

options.sid

Set site ID

callback

Set callback for push data request

API

analyzer.push([callback])

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

Request

Tracker send GET request to defined path

sid

Site ID

uid

User ID

pageUrl

Current page URL

pageRef

Referer page URL

pageVars

Campaign parameters array (utm)

pageQ

Search query

pageCc

Page cookies

appName

Browser name

appVers

Browser version

appLang

Browser language

osName

OS name

osVers

OS version

t

User date and time, example 17.01.2013 17:34

tz

User timezone, example UTC 7

screen

User screen resolution

License

MIT

Keywords

FAQs

Last updated on 28 Apr 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc