diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-11-25 14:36:23 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-11-25 14:36:23 +0000 |
commit | e8ee37de9995df94e1995a487011d3760cbb9568 (patch) | |
tree | e88c291e807dcd554fc38b94cb16799f775c8271 /templates/web/zurich/tracking_code.html | |
parent | e64110f3ee50f6d8f4b3e04df7ed6cd6443c114f (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.html | 2 |
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 %]']); |