aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/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/zurich/tracking_code.html
parente64110f3ee50f6d8f4b3e04df7ed6cd6443c114f (diff)
[UK] Add nonce to all script tags lacking it.
Diffstat (limited to 'templates/web/zurich/tracking_code.html')
-rw-r--r--templates/web/zurich/tracking_code.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/zurich/tracking_code.html b/templates/web/zurich/tracking_code.html
index bffd0fd6f..cf7fbbadd 100644
--- a/templates/web/zurich/tracking_code.html
+++ b/templates/web/zurich/tracking_code.html
@@ -2,7 +2,7 @@
SET ga_code = 'UA-38427437-1';
SET ga_code = 'UA-39223200-1' IF c.config.BASE_URL == "https://www.zueriwieneu.ch";
%]
-<script type="text/javascript">
+<script nonce="[% csp_nonce %]">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '[% ga_code %]']);