We want to make it as easy as possible for you to get started with Hotjar. So, here’s 5 steps to take to make sure you get set up right so you can start collecting data as soon as possible.
Your “tracking code” is a code snippet that needs to be installed on your site for you to be able to use Hotjar. Amongst other things, it allows you to record visitors, collect heatmap data and shows Poll to your visitors. It’s found in the right-hand side corner (at the top) where it reads "Tracking Active" or "Tracking Inactive."
Anytime you need it, that’s where it’ll be:
Need help finding out how to add it to your site?
Click here to jump down to our FAQs
You can choose to setup sites separately – or you can use one tracking code across multiple
You can add new sites to your account in the “Sites & Organizations” page for every site you want to track separately. When you add a new site, each site gets its own (unique) Hotjar Tracking Code, which you simply install on the site it corresponds to.
Here’s a quick guide on how to add more sites.
A "Snapshot" is an on-demand report based on a sample of data. The snapshot size refers to the number of visitors used to generate a particular report. So, why do we use snapshots? The “snapshot model” allows you to have the information relevant to your needs, rather than an overload of data to sift through. This approach also benefits your bottom line because it lets us offer much lower price points when compared to our competitors (since we minimize waste by only collecting data you request).
If you have the Plus or Business plan, you have the option to start recording a snapshot only after a user visits a specific page or performs a specific action.
For example, if I start my recordings with a snapshot of 2,000 and after analyzing most of these recordings I realized that I might've spotted an error on my "Cart" page, I can go back and create a new snapshot of 2,000 but this time only start recording when the user reaches "Cart".
Once you start to record visitors Hotjar will start collecting a group of visitor sessions based on the number of sessions you've chosen (and once you reach that Hotjar stops recording and you have to hit the “Record Visitors” button again to start a new Recording).
If there’s a green button that reads “Record Visitors” your snapshot is completed and you’ll need to start a new snapshot:
To exclude your team’s activity from your reports and analytics, you can block their IP addresses (and yours) in Hotjar. You can do this by accessing your account settings on the right-hand side by clicking the settings icon:
Adding the tracking code to your site is simple (even if you don’t know how to code). You can do it manually or if you’re using a platform like WordPress or Shopify, we provide you with a tailored guide that doesn’t require a developer.
Now, since we know that coding can be a bit intimidating, if you’re adding the tracking code manually, here’s a quick crash course on where your code should go:
HTML is the skeleton of your page, this is where the Hotjar tracking code would be placed. Here is a quick layout of some HTML code your site may follow:
Ideally, you should add your tracking code anywhere between <head> and </head>:
It’s best to add the tracking code in the <head> tag, but if needed you can also add it at the bottom of your code right before your closing body tag, </body> instead:
If you’re not seeing any data reports yet,
If you pass the test in all 3 of those areas, you may just need to wait for some visitors to show up on your site for the data to be populated.
It’s also helpful to know that different tools take a different amount of time for Hotjar to collect the data. For Funnels, Hotjar automatically collects data every hour. For all other tools, you can see the data collected within 1-3 minutes (if you have enough traffic coming to your site).
Hotjar Funnels show visitors arriving at different steps only if they actually visit that particular step. Let’s say you have the following Funnel set up (with each letter representing a page):
Hotjar doesn't care about the order in which your visitors go through the steps. We only care that they actually go through them. This means that your funnel will track visitors in your Funnel in the following cases, as long as they visit each step (i.e. page) along the way:
But, if any step is skipped, the visitor won’t be counted in the Funnel:
To track a conversion, your visitors can visit as many other (non-funnel) pages as they want as long as the funnel steps are all visited:
Every page you want to track needs its own separate heatmap.
If you have multiple pages which are generally the same in
If you want to learn more about this, definitely reach out to our Customer Success team and also be sure to check this article out.
If for any reason you need to change the ownership of your Hotjar account, it just takes a few simple clicks from your Hotjar Dashboard: