How to Install Hotjar via Google Tag Manager: A Beginner’s Guide

04/09/2024by Martin Kura0

Are you looking to gain deeper insights into your website’s user behavior? Hotjar is a powerful tool that allows you to track user interactions and understand how visitors engage with your website. In this guide, I’ll show you how to easily install Hotjar on your blog using Google Tag Manager (GTM).

Step-by-Step Guide

  1. Sign up for Hotjar: Go to the Hotjar website and sign up for an account. You’ll need this to access your tracking code.
  2. Access your tracking code: Once logged in, navigate to your account settings or tracking code section in Hotjar. Here, you’ll find your unique Hotjar tracking code snippet.
  3. Set up a new Tag in GTM: Log in to your Google Tag Manager account. Navigate to the “Tags” section and click on “New”.
  4. Choose Tag Configuration: Select “Tag Configuration” and choose “Custom HTML” as the tag type.
  5. Paste Hotjar tracking code: Copy the Hotjar tracking code snippet from your Hotjar account and paste it into the HTML field of the GTM tag.
  6. Configure trigger: Scroll down to the “Triggering” section and click on “Choose a trigger to make this tag fire…”. Select “All Pages” to ensure the Hotjar tracking code is deployed on every page of your blog.
  7. Save and Publish: Once you’ve pasted the tracking code and configured the trigger, click “Save” to save your tag configuration. Then, click “Submit” in the upper right corner to publish your changes in GTM.
  8. Verify installation: After publishing, visit your blog to verify that the Hotjar tracking code is installed correctly. You can do this by viewing the page source code and searching for the Hotjar snippet.

That’s it! You’ve successfully installed Hotjar via Google Tag Manager. Now you can start collecting valuable insights into user behavior.

Prefer to leave the technical stuff to tech-savvy guys? I’ve got you covered. Contact me, and I’ll take care of the setup for you.



Martin Kura

A multi-cultural nerd, digital marketer and SEO/content enthusiast. Likes good beer, dry wine, loves to cook and sing (sometimes all at once).

Leave a Reply

Your email address will not be published. Required fields are marked *