How to Install GDPR-Compliant Hotjar Efficiently

Attention: Pro Features
This type of Cookie is supported only in the Pro and Reseller versions of MyAgilePrivacy. Purchase your license and gain access to the entire database of pre-inserted cookies, constantly updated by the experts at MyAgilePrivacy.
>> Click here and find the plan that suits you best.

Hotjar enables monitoring user behavior on your site through heatmaps and tracking mouse movements and clicks.

Recording this data requires compliance with privacy policy and cookie regulations.

Learn how to install GDPR-compliant Hotjar on your website with MyAgilePrivacy.

Solution 1 - automatic scan

Utilize the advanced "Cookie Shield" feature to automatically detect this software.

Set the Shield to "Learning" mode, navigate your site's pages, and your configuration will be ready.

Alternatively, manual configuration is available.

Solution 2 - manual configuration

Part 1 - Hotjar's code

As a first step, locate the code to install Hotjar on the site.
It will look something like this below:

Part 2 - Locating the Cookie for Hotjar on the MyAgilePrivacy Cookie List

In your WordPress website admin, navigate to: MyAgilePrivacy -> Cookie List from the left menu. Here, you'll see the list of cookies imported during plugin installation. Initially, they'll all be in a draft state. You'll need to publish only the cookies relevant to your website.

On this screen you will see a series of columns:

  • Cookie Name: the name of the Cookie
  • Is Necessary: indicates whether or not the cookie is essential to site navigation. If rejecting the cookie makes the site unusable, then it is essential. You will find this information pre-filled in the cookie details.
  • Auto Update: indicates whether the cookie reference text (which we will see in a moment) remains automatically updated or not. If the setting is on "yes," we will automatically take care of updating the cookie reference texts to keep everything up to date according to GDPR regulations.
  • Tails: initially this column is empty. It shows you a preview of the code that is associated with each cookie. Just as we are about to do now with Hotjar.

To install Hotjar, search the list for the one with the title "Hotjar Heat Maps & Recordings (Hotjar Ltd.)" and click on it.

The detail page contains pre-filled informational text and 2 blank fields where the code can be entered.
The pre-filled text is visible in the cookie policy, and it is that information that is automatically updated to be up-to-date and compliant when the "Allow Automatic Update" setting is set to "yes."

Immediately below the text, you will find the option to select the "Type of Installation" (Javascript and Noscript, or Raw).
Leave "Javascript-noscript code" selected, and you will see immediately after 2 fields:

  • Javascript Activation Code - where to enter the main code for Hotjar
  • NoScript code - where to enter any NoScript code

Part 3 - Entering the LiveChat Widget Code

Now all you need to do is to enter the Hotjar code, identified at the beginning, within the two fields, according to the directions in the image below.
To do this correctly remember that you need to enter the code WITHOUT the opening and closing tags <script> and </script >

Remember to save and publish the Cookie by pressing the blue "Publish" button in the upper right corner.

Final part - verification of proper operation

To verify the proper installation of Hotjar on your website, utilize the tools provided by Hotjar or reach out to us for assistance.

When you load any page on your website, you'll notice that Hotjar remains inactive until you expressly consent to the cookie installation.

You can provide consent by clicking "I agree" on the cookie acceptance bar or by navigating to "Customize" and activating the relevant cookie.

Download the free guide

Fill out the form and get immediate access to the guide in PDF format.
Mockup del pdf della guida
Loading in Progress...
Request successfully sent. You will be redirected to the download page shortly
By submitting this form I declare that I have read the privacy policy and authorize the Owner to respond to me for what is expressed in point a of the privacy policy
Warning: Your Cookie choices may not allow the form to be submitted.
Click here to review your preferences.
buy now My Agile Privacy - compliant in less than 3 minutes
a Formula Agile SRL project
VAT ID 04524510403 - REA: RN418884
Viale Medici 16/A, 47922 Rimini (RN) - Italy
Share capital 12'000โ‚ฌ
PEC formulaagilesrl[at]legalmail.it
For assistance: info[at]myagileprivacy.com
GDPR and privacy present complexities that extend beyond achieving website compliance. Compliance obligations span across all business aspects and necessitate expert analysis.
When it comes to implementing Banners and Policies, trust My Agile Privacyโ€”the only solution that excludes unnecessary implementations not mandated by regulations.
Logo CMP partner GoogleLogo CMP partner GoogleLogo IAB Europe approved
My Agile Privacy

This site uses technical and profiling cookies. 

You can accept, reject, or customize the cookies by clicking the desired buttons. 

By closing this notice, you will continue without accepting. 

In addition, this site installs Google Analytics version 4 (GA4), Facebook Remarketing with anonymous data transmission via proxy. 

By giving your consent, the data will be sent anonymously, thus protecting your privacy.