aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/hackney/tracking_code.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/hackney/tracking_code.html')
-rw-r--r--templates/web/hackney/tracking_code.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/web/hackney/tracking_code.html b/templates/web/hackney/tracking_code.html
new file mode 100644
index 000000000..ac9a5bcf4
--- /dev/null
+++ b/templates/web/hackney/tracking_code.html
@@ -0,0 +1,11 @@
+[% 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 %]