Hotjar Learning courses are live 🎓
Hotjar now has a beta training platform with courses on how to get the best out of Hotjar. Try out our How to install the Tracking Code course today!
This guide shows you how to install Hotjar on Magento 2.3.1 or newer.
Hotjar only supports Magento 2.3.1 or newer
A known bug in versions of Magento older than 2.3.1 will cause your site checkout to break when using Hotjar. You will need to upgrade to Magento 2.3.1 or newer to install Hotjar.
Go to your Hotjar Overview page, and copy the Hotjar Tracking Code.
From the Admin menu, select Content, then Configuration.
Click Edit in the Action column for the site you want to add Hotjar to.
Click to expand the HTML Head section.
Paste the Hotjar Tracking Code in the Scripts and Style Sheets box.
Click Save Configuration.
Verify the installation from your Hotjar Overview.
Keep Tracking Code in mind when making design changes
If after you install the Tracking Code, your website undergoes a major design change check to ensure your Tracking Code is still installed.
Getting Started with Hotjar
After installing the Tracking Code, you can start using Hotjar's tools. Have a look at the guides below to get started.