gatsby-plugin-hotjar-tracking
Easily add Hotjar Analytics to your Gatsby site.
Installation
npm i netlify-push-webpack-plugin
or
yarn add gatsby-plugin-hotjar-tracking
Usage
// In your gatsby-config.jsplugins: resolve: `gatsby-plugin-hotjar-tracking` options: includeInDevelopment: false id: YOUR_HOTJAR_ID sv: YOUR_HOTJAR_SNIPPET_VERSION ;
To find your Hotjar ID, click the Tracking code button for your site. The Hotjar Snippet Version is in the tracking code, look for a line like:
h_hjSettings=hjid:hotjar idhjsv:6;
The version is the value of hjsv
.