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.
- All dependencies are managed with yarn:
Notes on the Implementation
- It makes HTTP POST requests conforming to this JSON schema
- It uses a durable
localStoragequeue to retry failed requests
- 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