Установите React Hotjar
npm install react-hotjar --save
Handsome Hornet
npm install react-hotjar --save
import { hotjar } from 'react-hotjar';
hotjar.initialize(hjid, hjsv);
<!-- Optional identify call -->
hotjar.identify('USER_ID', { userProperty: 'value' });