@adhawk/visitor-events
TypeScript icon, indicating that this package has built-in type declarations

1.2.9 • Public • Published

Visitor Events

This package is an integration for analytics.js that sends all events to our own backend for storage. By doing this, we can use the events to create a better browsing experience for our users.

Installation

  1. All dependencies are managed with yarn: yarn

Testing

yarn test

Notes on the Implementation

  1. It makes HTTP POST requests conforming to this JSON schema
  2. It uses a durable localStorage queue to retry failed requests
  3. In order to avoid cross-domain issues, to conditionally send events, and for easier debugging, we use a proxy instead of directly sending events to insights.tryadhawk.com/visitor-events

Readme

Keywords

none

Package Sidebar

Install

npm i @adhawk/visitor-events

Weekly Downloads

15

Version

1.2.9

License

MIT

Unpacked Size

46.8 kB

Total Files

11

Last publish

Collaborators

  • stephengrable1
  • adhawk
  • janeosaur
  • stephengrable