We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Oct 31, 2022 1:02 PM
Hi,
We would like to add html integration code like showned in this page of the HubSpot documentation : https://knowledge.hubspot.com/fr/website-pages/add-code-to-the-head-or-footer-html-of-hubspot-conten...
We can see this HubSpot feature in this video : https://youtu.be/oZVqU4TXvDw?t=62
But we don't see the "Template tab", here is what we see :
Can you help us to enable this feature in order to integrate a HotJar integration code in our HubSpot landing page.
The integration code look like this and should be added in the landing page <head> tag :
<!-- Hotjar Tracking Code for https://landings.sbcxx.com/xxxxxxxxxxxxxx/xxxxxxxxxxx-g/landing.html --> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:9999999,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');</script>
Note : we removed sensitive informations.
Nov 1, 2022 8:32 AM
Are you looking to include the code on a single landing page? If so, you can choose to edit the page and go to the Settings tab for the page. Under advanced options, paste your code into the Head HTML box and publish.