How to set up Hotjar?

Setting up Hotjar on your website is a straightforward process, even if you’re not a tech expert. Hotjar provides a simple installation method that involves adding a tracking code to your website. Below is a step-by-step guide on how to set up Hotjar, which can help you start gathering insights into your website visitors’ behavior quickly.
Step 1: Create a Hotjar Account
- Go to the Hotjar website at www.hotjar.com.
- Click on the Sign Up button in the top right corner.
- Fill in your details such as your email address, password, and website URL.
- Choose a plan that suits your needs (Hotjar offers a free plan for small websites or low-traffic sites).
Step 2: Add Your Website to Hotjar
Once you’ve signed up, you’ll be prompted to add your website to Hotjar’s dashboard.
- In the Hotjar dashboard, click on New Site to add the site you want to track.
- Enter your website’s URL and click Add Site.
Step 3: Install the Hotjar Tracking Code
After adding your website, Hotjar will generate a tracking code. This code needs to be added to your website to begin tracking user behavior.
Installing Hotjar Manually:
- Copy the tracking code that Hotjar provides after creating your account.
- Go to your website’s HTML header or use a plugin like Insert Headers and Footers (if you’re using WordPress).
- Paste the tracking code right before the closing
</head>
tag in your website’s code.
For WordPress users:
- Install and activate the Insert Headers and Footers plugin.
- In your WordPress dashboard, go to Settings > Insert Headers and Footers.
- Paste the Hotjar tracking code into the Header section and save your changes.
For Google Tag Manager users:
- Log in to Google Tag Manager and create a new tag.
- Select Custom HTML as the tag type and paste your Hotjar tracking code.
- Set the trigger to fire on All Pages.
- Publish the changes to add Hotjar to your site.
Step 4: Verify Your Installation
- Go back to your Hotjar dashboard.
- Click on Verify Installation to check if the tracking code is properly installed on your website.
- If everything is set up correctly, you’ll see a confirmation message. You can now start using Hotjar’s features.
Step 5: Set Up Heatmaps, Recordings, and Funnels
Now that your website is connected, it’s time to start gathering data. You can begin setting up different tools like heatmaps, session recordings, and funnel tracking.
Creating a Heatmap:
- In your Hotjar dashboard, navigate to the Heatmaps tab.
- Click on New Heatmap.
- Choose which page or pages you want to track (you can specify URLs or patterns).
- Set a name for your heatmap, and click Create Heatmap.
- Hotjar will begin collecting data on where users are clicking, scrolling, or spending the most time.
Setting Up Session Recordings:
- Go to the Recordings tab in the dashboard.
- Click on Start Recording.
- Hotjar will start recording user sessions so you can watch how users navigate your website.
Setting Up a Conversion Funnel:
- Go to the Funnels tab in your dashboard.
- Click on Create Funnel.
- Define the steps users take to reach a goal (e.g., Homepage > Product Page > Checkout).
- Hotjar will track the percentage of users completing each step in the funnel and where they drop off.
Step 6: Use Hotjar Insights to Optimize Your Website
Once Hotjar starts collecting data, you can begin using the insights to optimize your website’s SEO and user experience. Whether it’s through heatmaps, recordings, or user feedback surveys, Hotjar provides you with detailed information that can help you improve your site’s design and overall user engagement.
Setting up Hotjar is simple and provides you with powerful insights into your website’s user behavior. By following the steps above, you’ll be able to install Hotjar, start tracking visitor interactions, and gather actionable data to optimize your website for both SEO and user experience.