Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

analyzer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analyzer

Client-side user data tracker

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
807
decreased by-17.06%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 28 Apr 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc