Skip to main content

Introduction

Haya is a behavioral analytics platform that gives you deep visibility into how users interact with your web app — without sending data to a third party.

What Haya tracks

FeatureWhat it does
Auto-trackingCaptures clicks, scrolls, pageviews, and form interactions automatically
Custom eventsTrack any user action with a single haya.track() call
Session replayRecord and replay exact user sessions (DOM-based, capped at 40 seconds)
HeatmapsVisualize where users click and how far they scroll on any page

How it works

You add a small JavaScript SDK to your website. The SDK collects behavioral events in the background and batches them to your Haya backend every few seconds. No user interaction is required — tracking starts the moment the page loads.

Your website → Haya SDK → Haya Backend → Your Dashboard

All data is stored in your own Haya account. Nothing goes to third parties.

Key concepts

SDK Key — A public identifier for your project. Included in your SDK snippet. Safe to expose — it's not a secret.

Project — Represents one website you want to track. Each project has its own SDK key and data is isolated per project.

Session — A continuous visit by a single user. A new session starts after 30 minutes of inactivity.

Session Replay — A DOM-based recording of exactly what the user saw and did. Not a video — it's a structured replay using rrweb, which means it's lightweight and privacy-respecting.

Next steps