{"id":3082,"date":"2020-05-26T13:24:51","date_gmt":"2020-05-26T13:24:51","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=3082"},"modified":"2024-02-14T11:40:54","modified_gmt":"2024-02-14T11:40:54","slug":"hotjar-installation","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/","title":{"rendered":"HotJar installation"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction:<\/h2>\n\n\n\n<p>If you want to use HotJar tracking this guide will show you what you need to do.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-amber-background-color has-background\">Note that we have users report that HotJar wont work with LeadsHook when using GTM. So you need to manually install the tracking code into your global or DT level script section.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-Step Instructions:<\/h2>\n\n\n\n<p><strong>Step 1:<\/strong> Log into your HotJar account<\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Go to the <a href=\"https:\/\/insights.hotjar.com\/site\/list\">Sites list<\/a><\/p>\n\n\n\n<p><strong>Step 3:<\/strong> Click on the Tracking Code button for the Site you want to track.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.hotjar.com\/cs-team\/knowlege_base\/tracking-code-location.gif\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Step 4:<\/strong> Click on\u00a0<strong>Copy to Clipboard<\/strong>.<\/p>\n\n\n\n<p><strong>Step 5:<\/strong> Log into Leadshook &amp; paste the tracking code into the &lt;head> section of a DT level script.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">EMBED UPDATE<\/h2>\n\n\n\n<p>We added the ability to add html attribute to allow tools like hotjar to work without hacking the code.<br><br><a rel=\"noreferrer noopener\" href=\"https:\/\/help.hotjar.com\/hc\/en-us\/articles\/115011624347-Can-I-track-iframes-inside-Recordings-?fbclid=IwAR3fDao5zT6r7sCizaVAmUEEMZI8Knh_rgY5-UPm_EQY22CRfdYdvfeJlEc\" target=\"_blank\">https:\/\/help.hotjar.com\/hc\/en-us\/articles\/115011624347-Can-I-track-iframes-inside-Recordings-<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"798\" height=\"436\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2020\/05\/hotjar-LH.jpg\" alt=\"\" class=\"wp-image-3106\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2020\/05\/hotjar-LH.jpg 798w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2020\/05\/hotjar-LH-300x164.jpg 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2020\/05\/hotjar-LH-768x420.jpg 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2020\/05\/hotjar-LH-60x33.jpg 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2020\/05\/hotjar-LH-150x82.jpg 150w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-luminous-vivid-amber-background-color has-background\"><strong>UPDATE: 7 Nov 2020<\/strong><br><br>We received the followijg advice from someone who has been able to make Hotjar work&#8230;.<br><br><em>&#8220;I am adding &#8220;data-hj-allow-iframe&#8221; (WITHOUT  # at the end) as Append Iframe Attributes to Embedded code. I also noticed that blank white space appears when there is a GTM code on the Landing Page as well (in addition to one in Decision Tree). That&#8217;s why I don&#8217;t install GTM on Landin Page itself. Only the Decision Tree.&#8221;<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: If you want to use HotJar tracking this guide will show you what you need to do. Note that we have users report that HotJar wont work with LeadsHook when using GTM. So you need to manually install the tracking code into your global or DT level script section. Step-by-Step Instructions: Step 1: Log [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[239],"tags":[305,690,689,692,691,111],"class_list":["post-3082","post","type-post","status-publish","format-standard","hentry","category-tracking","tag-embed","tag-hot","tag-hotjar","tag-install","tag-jar","tag-tracking"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HotJar installation - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/hotjar-installation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HotJar installation - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Introduction: If you want to use HotJar tracking this guide will show you what you need to do. Note that we have users report that HotJar wont work with LeadsHook when using GTM. So you need to manually install the tracking code into your global or DT level script section. Step-by-Step Instructions: Step 1: Log [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/hotjar-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-26T13:24:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-14T11:40:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hotjar.com\/cs-team\/knowlege_base\/tracking-code-location.gif\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"HotJar installation\",\"datePublished\":\"2020-05-26T13:24:51+00:00\",\"dateModified\":\"2024-02-14T11:40:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/\"},\"wordCount\":207,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hotjar.com\\\/cs-team\\\/knowlege_base\\\/tracking-code-location.gif\",\"keywords\":[\"embed\",\"hot\",\"hotjar\",\"install\",\"jar\",\"tracking\"],\"articleSection\":[\"Tracking\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/\",\"name\":\"HotJar installation - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hotjar.com\\\/cs-team\\\/knowlege_base\\\/tracking-code-location.gif\",\"datePublished\":\"2020-05-26T13:24:51+00:00\",\"dateModified\":\"2024-02-14T11:40:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hotjar.com\\\/cs-team\\\/knowlege_base\\\/tracking-code-location.gif\",\"contentUrl\":\"https:\\\/\\\/assets.hotjar.com\\\/cs-team\\\/knowlege_base\\\/tracking-code-location.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/hotjar-installation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HotJar installation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HotJar installation - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/","og_locale":"en_US","og_type":"article","og_title":"HotJar installation - LeadsHook Knowledge Base","og_description":"Introduction: If you want to use HotJar tracking this guide will show you what you need to do. Note that we have users report that HotJar wont work with LeadsHook when using GTM. So you need to manually install the tracking code into your global or DT level script section. Step-by-Step Instructions: Step 1: Log [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2020-05-26T13:24:51+00:00","article_modified_time":"2024-02-14T11:40:54+00:00","og_image":[{"url":"https:\/\/assets.hotjar.com\/cs-team\/knowlege_base\/tracking-code-location.gif","type":"","width":"","height":""}],"author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"HotJar installation","datePublished":"2020-05-26T13:24:51+00:00","dateModified":"2024-02-14T11:40:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/"},"wordCount":207,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hotjar.com\/cs-team\/knowlege_base\/tracking-code-location.gif","keywords":["embed","hot","hotjar","install","jar","tracking"],"articleSection":["Tracking"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/","url":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/","name":"HotJar installation - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hotjar.com\/cs-team\/knowlege_base\/tracking-code-location.gif","datePublished":"2020-05-26T13:24:51+00:00","dateModified":"2024-02-14T11:40:54+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/hotjar-installation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/#primaryimage","url":"https:\/\/assets.hotjar.com\/cs-team\/knowlege_base\/tracking-code-location.gif","contentUrl":"https:\/\/assets.hotjar.com\/cs-team\/knowlege_base\/tracking-code-location.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/hotjar-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"HotJar installation"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=3082"}],"version-history":[{"count":10,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3082\/revisions"}],"predecessor-version":[{"id":7065,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3082\/revisions\/7065"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=3082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=3082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=3082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}