Looks like the hotjar script wasn't working. Hotjar instructions ask that the script tag be put in the head html element, but next.js does not allow doing that without adding some third party packages. In this PR I'm trying to get hotjar to load using the next Script component's beforeInteractive strategy.
Looks like the hotjar script wasn't working. Hotjar instructions ask that the script tag be put in the
head
html element, but next.js does not allow doing that without adding some third party packages. In this PR I'm trying to get hotjar to load using the nextScript
component's beforeInteractive strategy.