FreeUKGen / FreeUKGenealogy

Apache License 2.0
0 stars 0 forks source link

Set up Hotjar for FUG site #29

Open DeniseColbert opened 5 years ago

DeniseColbert commented 5 years ago

image

Needs Google Tag Manager (#868 Coordination board)

DeniseColbert commented 5 years ago

Code to be added to GTM:

<script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:1036679,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>
DeniseColbert commented 5 years ago

Did I ``` correctly?

ghost commented 5 years ago

@DeniseColbert

Did I ``` correctly?

Close! Edit your comment to see how it's done (``` belongs on a separate line before and after the code block)

ghost commented 5 years ago

@DeniseColbert Prefer to use the method described by HotJar for GTM - can you confirm that Site ID as 1036679 by checking w/the instructions provided in that doc?

DeniseColbert commented 5 years ago

That is correct