Copy the Hotjar Tracking Code.
Paste it into AdobeDTM and delete the <script> and </script> tags.
Save the rule.
Your Hotjar Tracking Code is now installed.
Once you have added the Hotjar Tracking Code to your site, you will need to wait a few minutes for Hotjar to check if it is installed correctly. This usually happens the moment your site is loaded with the Hotjar code on it - you can visit the page yourself to speed the process up. Once Hotjar has detected the Tracking Code on your site, the Hotjar interface will show a notice like the one below:
Keep Tracking Code in mind when making design changes
If after you install the Tracking Code, your website undergoes a major design change check to ensure your Tracking Code is still installed.