There are two ways to add Hotjar to your PrestaShop pages:
Insert the Hotjar Tracking Code in a Template
PrestaShop uses the Smarty CMS. The Hotjar Tracking code can be added to your PrestaShop pages by editing the Smarty CMS templates (.tpl files). Learn more about adding Hotjar to Smarty Templates.
Insert the Hotjar Tracking Code using a Module
Installing Hotjar using a PrestaShop Module
Find your Tracking Code within your Hotjar dashboard.
Each site you add to your Hotjar account will have its own unique Tracking Code to install. You can find your Tracking Code to install by going to Sites & Organizations and clicking on the Tracking Code button next to the site URL.
Paste the Hotjar Tracking Code into the module.
Your Hotjar Tracking Code is now installed.
Once you have added the Hotjar Tracking Code to your site, you will need to wait a few minutes for Hotjar to check if it is installed correctly. This usually happens the moment your site is loaded with the Hotjar Tracking Code on it - you can visit the page yourself to speed the process up. Once Hotjar has detected the Tracking Code on your site, the Site Dashboard will show a notice like the one below:
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.
Once your Tracking Code is installed
You can start using any of Hotjar's features: Heatmaps, Recordings, Forms, Funnels, Surveys, and Incoming Feedback. Have a look at the guides below to get started.
- Creating Your First Heatmap Report
- How to Start Recordings
- Creating Your First Form Report
- Creating Your First Funnel Report
- Creating Your First Survey
- Starting to use Incoming Feedback