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/hounslow/tracking_code.html | |
parent | e64110f3ee50f6d8f4b3e04df7ed6cd6443c114f (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.html | 2 |
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()); |