aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/hackney/tracking_code.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/web/hackney/tracking_code.html b/templates/web/hackney/tracking_code.html
index b01a0178c..ac9a5bcf4 100644
--- a/templates/web/hackney/tracking_code.html
+++ b/templates/web/hackney/tracking_code.html
@@ -1 +1,11 @@
-[%# awaiting analytics information from Hackney %]
+[% IF c.config.BASE_URL == "https://www.fixmystreet.com" %]
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-171536255-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'UA-171536255-1');
+</script>
+[% END %]