spy.js

0.2.0 • Public • Published

Spy is a modern, open-source JavaScript tool to analysis users behavior for web applications. It can trace user's mouse and produce nice statistic data including clicks, scroll and other useful information.

Why Spy?

Spy is a lighweight but powerful tool, can be setup in just 30 seconds and you can immediately see the result. Ever be curious about how users browse your site? Just add one line of code and you can enjoy the happiness of better understanding visitors of your site!

Unlike other web analytics tools (such as Google Analysis, Inspectlet), you can save the user data in your own data storage. Private data should keep secret.

Demo

Installation

npm install --save spy.js

How to use?

Put the code into your application, spy the users:

spy.start()
spy.upload('my-site-name')

Then behavior data will be uploaded and save automatically (in Firebase). When you want to see the result:

spy.show('my-site-name')

API

For the complete API and document, please see the Spy website.

Contribute

Contribution is welcome. For feature requests and bugs report, please open an issue or send apull request.

Build

npm install
gulp

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i spy.js

Weekly Downloads

3

Version

0.2.0

License

none

Last publish

Collaborators

  • howard.chang