...
Once the script is removed on the old site, you can add it to the new site. Make sure it is placed in the Footer Scripts area in the Developer tab for the site.
...
Verifying the script
Whichever method you used to implement the script, once you return to Hotjar, you should see an option to “verify the installation”. Make sure the URL matches the site you are currently installing on, and then click “Verify Installation”.
...