aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/hounslow/tracking_code.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-11-25 14:36:23 +0000
committerMatthew Somerville <matthew@mysociety.org>2019-11-25 14:36:23 +0000
commite8ee37de9995df94e1995a487011d3760cbb9568 (patch)
treee88c291e807dcd554fc38b94cb16799f775c8271 /templates/web/hounslow/tracking_code.html
parente64110f3ee50f6d8f4b3e04df7ed6cd6443c114f (diff)
[UK] Add nonce to all script tags lacking it.
Diffstat (limited to 'templates/web/hounslow/tracking_code.html')
-rw-r--r--templates/web/hounslow/tracking_code.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/hounslow/tracking_code.html b/templates/web/hounslow/tracking_code.html
index d5d443560..067fb1a58 100644
--- a/templates/web/hounslow/tracking_code.html
+++ b/templates/web/hounslow/tracking_code.html
@@ -2,7 +2,7 @@
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136557400-1"></script>
-<script>
+<script nonce="[% csp_nonce %]">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());