aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/bathnes/tracking_code.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/bathnes/tracking_code.html')
-rw-r--r--templates/web/bathnes/tracking_code.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/web/bathnes/tracking_code.html b/templates/web/bathnes/tracking_code.html
index 386b42e0e..a6d832e21 100644
--- a/templates/web/bathnes/tracking_code.html
+++ b/templates/web/bathnes/tracking_code.html
@@ -8,6 +8,14 @@
gtag('config', 'UA-418184-9');
</script>
+<!-- Google Tag Manager -->
+<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
+j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
+})(window,document,'script','dataLayer','GTM-NTQSP7S');</script>
+<!-- End Google Tag Manager -->
+
<!-- Hotjar Tracking Code for www.bathnes.gov.uk -->
<script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:909367,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>
[% ELSE %]