Hotjar tracking code not working on Checkout pages

Hi there, I was wondering if anyone uses Hotjar on their website, specifically on their checkout pages, and if so how did you get it to work? 

I installed the code per these instructions and I got the "You've successfully installed your Hotjar script" message in my dashboard. And it works on all my Standard pages but not on my checkout pages. I tried pasting the code separately into the tracking sections for each checkout page under Store > Setup > Tracking, but still no luck. When I use Hotjar's verification tool to browse my site it confirms that the tracking code is working on every page except the checkout pages.

For refernce, here's what the tracking code looks like:

<!-- Hotjar Tracking Code for tabletop-companion.com -->
<script>
    (function(h,o,t,j,a,r){
        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
        h._hjSettings={hjid:000000,hjsv:5};
        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,'//static.hotjar.com/c/hotjar-','.js?sv=');
</script>

Any insight would be appreciated!

2,759 Views
Message 1 of 2
Report
1 Best Answer

Best Answer

Hi @JessicaC,

I think you'd need to contact HotJar. I used HotJar for about 3 weeks before I gave up on it. The results weren't as accurate as I had hoped and there didn't seem to be consistency about which pages I could add it to. It was a nice gimmick for a few weeks, but not for me.

Are you using the free version? I think you can only track 3 pages with that version. If you are using one of the paid versions, I think you may need to get their help, as it looks like you've done all that is needed from the code point of view.

Best of luck, Mark

View Best Answer >

2,746 Views
Message 2 of 2
Report
1 REPLY 1

Best Answer

Hi @JessicaC,

I think you'd need to contact HotJar. I used HotJar for about 3 weeks before I gave up on it. The results weren't as accurate as I had hoped and there didn't seem to be consistency about which pages I could add it to. It was a nice gimmick for a few weeks, but not for me.

Are you using the free version? I think you can only track 3 pages with that version. If you are using one of the paid versions, I think you may need to get their help, as it looks like you've done all that is needed from the code point of view.

Best of luck, Mark

2,747 Views
Message 2 of 2
Report