# Hotjar JavaScript SDK

**Canonical:** https://apis.io/apis/hotjar/javascript-sdk/  
**Provider:** hotjar — https://apis.io/providers/hotjar/  
**Base URL:** https://api.example.com  
**Documentation:** https://github.com/hotjar/hotjar-js

Hotjar JavaScript SDK is one of 7 APIs that [hotjar](https://apis.io/providers/hotjar/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Analytics, Browser, JavaScript, SDK, and Tracking. The published artifact set on APIs.io includes API documentation.

The Hotjar JavaScript SDK (@hotjar/browser) is an npm package that provides a programmatic interface for integrating Hotjar directly into JavaScript applications. It allows developers to initialize Hotjar with a site ID, identify users, and send custom events without manually embedding the tracking script. The SDK supports modern JavaScript frameworks including React, Vue, and Angular, and provides methods for all Hotjar client-side APIs including identify and event tracking.

## Machine-readable artifacts (1)

- **Documentation** — https://github.com/hotjar/hotjar-js

## Other hotjar APIs (6)

- [Hotjar Events API](https://apis.io/apis/hotjar/events-api/)
- [Hotjar Identify API](https://apis.io/apis/hotjar/identify-api/)
- [hotjar Authentication API](https://apis.io/apis/hotjar/hotjar-authentication-api/)
- [hotjar Survey Responses API](https://apis.io/apis/hotjar/hotjar-survey-responses-api/)
- [hotjar Surveys API](https://apis.io/apis/hotjar/hotjar-surveys-api/)
- [hotjar User Lookup API](https://apis.io/apis/hotjar/hotjar-user-lookup-api/)

## Tags

Analytics, Browser, JavaScript, SDK, Tracking

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/hotjar/javascript-sdk/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/hotjar/.
