Get Started

Install the SDK to start capturing user behavior.

No-code Installation Wizard Beta

Try our no-code installation wizard to automatically detect your framework install the SDK for you.

npx humanbehavior-js YOUR_API_KEY

If that works, you can proceed to configuration! Otherwise, you can easily install manually by following the steps below.

Quick Manual Install

If you are familiar with javascript and use a framework, select one below. Otherwise, you can install with a quick CDN snippet:

Install the SDK using your preferred package manager at the root of your project or add it to the head of your HTML file via CDN.

npm install humanbehavior-js
yarn add humanbehavior-js
pnpm add humanbehavior-js
<script src="https://unpkg.com/humanbehavior-js@latest"></script>

For simple configuration, initialize the SDK in your application.

<head>    <!-- your other metadata here -->    <script>const tracker = HumanBehaviorTracker.init('YOUR_API_KEY');</script></head>

For advanced configuration, use one of the framework integration guides below.