{"id":9063,"date":"2021-12-22T15:01:26","date_gmt":"2021-12-22T14:01:26","guid":{"rendered":"https:\/\/www.myagileprivacy.com\/how-to-install-gdpr-compliant-hotjar\/"},"modified":"2026-01-02T14:33:11","modified_gmt":"2026-01-02T13:33:11","slug":"how-to-install-gdpr-compliant-hotjar-efficiently","status":"publish","type":"post","link":"https:\/\/www.myagileprivacy.com\/en\/how-to-install-gdpr-compliant-hotjar-efficiently\/","title":{"rendered":"How to Install GDPR-Compliant Hotjar Efficiently"},"content":{"rendered":"<p>Hotjar enables you to monitor user behavior on your website through heatmaps, mouse tracking, and click analytics.<br \/>\nRecording this data requires full compliance with privacy and cookie regulations.<br \/>\nHere\u2019s how to install Hotjar in a GDPR-compliant way using <strong>My Agile Privacy<sup>\u00ae<\/sup><\/strong>.<\/p>\n<h2>Solution 1 \u2013 Automatic Scan<\/h2>\n<p>Use the advanced \"Cookie Shield\" feature to automatically detect Hotjar.<br \/>\nSet the Shield to \"Learning\" mode, browse your site\u2019s pages as a regular user, and the configuration will be handled automatically.<br \/>\nIf you prefer, you can also use manual configuration.<\/p>\n<h2>Solution 2 \u2013 Manual Configuration<\/h2>\n<h3>Part 1 \u2013 The Hotjar Code<\/h3>\n<p>First, locate the Hotjar installation code in your Hotjar account.<br \/>\nIt will look similar to this:<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-5063\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/hotjar_1.png\" alt=\"\" width=\"1920\" height=\"504\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/hotjar_1.png 1920w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/hotjar_1-300x79.png 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/hotjar_1-1024x269.png 1024w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/hotjar_1-768x202.png 768w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/hotjar_1-1536x403.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h3>Part 2 \u2013 Adding the Hotjar Cookie in My Agile Privacy<sup>\u00ae<\/sup><\/h3>\n<p>In your WordPress admin panel, go to <em>My Agile Privacy<sup>\u00ae<\/sup> \u2192 Cookie List<\/em> from the left menu. You\u2019ll see a list of cookies imported during plugin installation, all in draft status.<br \/>\nYou should only publish cookies relevant to your website.<br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-9467\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en.jpg\" alt=\"\" width=\"1000\" height=\"303\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en.jpg 1000w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en-300x91.jpg 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en-768x233.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><br \/>\nOn this screen, you\u2019ll see columns such as:<\/p>\n<ul>\n<li><em>Cookie Name<\/em>: the name of the cookie.<\/li>\n<li><em>Is Necessary<\/em>: indicates if the cookie is essential to website operation. If rejecting the cookie makes the site unusable, it is marked as essential (this is pre-filled in the details).<\/li>\n<li><em>Auto Update<\/em>: shows whether the cookie reference text is kept updated automatically. If set to \"yes,\" texts are managed according to GDPR updates.<\/li>\n<li><em>Tails<\/em>: displays a preview of code associated with each cookie. This is particularly useful when adding integrations like Hotjar.<\/li>\n<\/ul>\n<p>To install Hotjar, search the list for \"Hotjar Heat Maps &amp; Recordings (Hotjar Ltd.)\" and click on it.<br \/>\nThe detail page presents a pre-filled informational text and two blank fields for entering code.<br \/>\nThis text appears in your cookie policy and, with \"Allow Automatic Update\" enabled, stays up-to-date and compliant automatically.<br \/>\nBelow this, choose the \"Type of Installation\" (Javascript and Noscript, or Raw).<br \/>\nKeep \"Javascript-noscript code\" selected, and two input fields will appear:<\/p>\n<ul>\n<li><em>Javascript Activation Code<\/em> \u2013 where you enter the main code for Hotjar<\/li>\n<li><em>NoScript code<\/em> \u2013 for optional NoScript code<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-9477\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookie-script-code2-en.jpg\" alt=\"\" width=\"1000\" height=\"451\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookie-script-code2-en.jpg 1000w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookie-script-code2-en-300x135.jpg 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookie-script-code2-en-768x346.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<h3>Part 3 \u2013 Entering the Hotjar Code<\/h3>\n<p>Copy the Hotjar code you obtained earlier and paste it into the appropriate fields, as shown in the image above.<br \/>\nBe sure to remove the opening and closing <em>&lt;script&gt;<\/em> and <em>&lt;\/script&gt;<\/em> tags before entering the code.<br \/>\nRemember to save and publish the cookie by clicking the blue \"Publish\" button in the upper right corner.<\/p>\n<h2>Final Step \u2013 Verifying Operation<\/h2>\n<p>To verify that Hotjar is installed correctly, use Hotjar\u2019s own tools or contact support for help if needed.<br \/>\nWhen you visit any page on your website, you\u2019ll see that Hotjar remains inactive until explicit consent to install the cookie is provided.<br \/>\nUsers can give consent either by clicking \"I agree\" on the cookie banner or by enabling the relevant cookie under \"Customize\".<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hotjar enables you to monitor user behavior on your website through heatmaps, mouse tracking, and click analytics. Recording this data requires full compliance with privacy and cookie regulations. Here\u2019s how to install Hotjar in a GDPR-compliant way using My Agile Privacy\u00ae. Solution 1 \u2013 Automatic Scan Use the advanced \"Cookie Shield\" feature to automatically detect [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8736,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[33],"tags":[34],"class_list":["post-9063","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cookies","tag-premium"],"acf":{"visibilita_box_autore":false,"autore_associato":null,"elenco_faq_articolo":null,"url_esterno":"","titolo":"Hotjar"},"_links":{"self":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/comments?post=9063"}],"version-history":[{"count":9,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9063\/revisions"}],"predecessor-version":[{"id":15155,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9063\/revisions\/15155"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/media\/8736"}],"wp:attachment":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/media?parent=9063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/categories?post=9063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/tags?post=9063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}