Hello,
I'm trying ton install the hotjar script for tracking visitors' behaviour on zendesk but it doesn't seem to work, though it looks quite straight forward and easy.
What I'm doing :
go into the guide admin > personnalise menu > edit theme > document head
there I copy paste the hotjar code :
<!-- Hotjar Tracking Code for https://<my-site>.zendesk.com/hc-->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:<my-hotjar-id>,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>
and when inspecting the generated html afterwards everything looks as expected with the code within the <head></head> tag,
though hotjar still can't access visits info from my zendesk HC.
Has anyone succeeded and could give some directions on the way forward ?
Regards