Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hotjar

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hotjar - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

2

package.json
{
"name": "react-hotjar",
"version": "1.0.10",
"version": "1.0.11",
"description": "Small component to implement Hotjar into your react application",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,7 +5,16 @@ # react-hotjar

# Installation
```bash
npm install react-hotjar --save
```
# Use / Example
```javascript
import { hotjar } from 'react-hotjar';
hotjar.initialize(hjid, hjsv);
```
- hjid: Stands for 'Hotjar ID' - Your site's ID. This is the ID which tells Hotjar which site settings it should load and where it should save the data collected.
- hjsv: Stands for 'Hotjar Snippet Version' - The version of the Tracking Code you are using. This is only needed if Hotjar ever updates the Tracking Code and needs to discontinue older ones. Knowing which version your site includes allows hotjar team to contact you and inform you accordingly.
You can learn more from [Understanding the Tracking Code](https://docs.hotjar.com/v1.0/docs/understanding-the-tracking-code) of Hotjar docs
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc