Remove Google Analytics

Reverts https://github.com/alphagov/notifications-admin/pull/306

We’re not looking at the data from Analytics, so shouldn’t be collecting
it just in case.

<sup>Brought to you by the fun police.</sup>
This commit is contained in:
Chris Hill-Scott
2016-09-30 09:23:00 +01:00
parent 4d70448835
commit f31170f5a2
3 changed files with 4 additions and 12 deletions

View File

@@ -8,8 +8,8 @@ def test_owasp_useful_headers_set(app_):
assert response.headers['X-XSS-Protection'] == '1; mode=block'
assert response.headers['Content-Security-Policy'] == (
"default-src 'self' 'unsafe-inline';"
"script-src 'self' *.google-analytics.com 'unsafe-inline' 'unsafe-eval' data:;"
"script-src 'self' 'unsafe-inline' 'unsafe-eval' data:;"
"object-src 'self';"
"font-src 'self' data:;"
"img-src 'self' *.google-analytics.com *.notifications.service.gov.uk data:;"
"img-src 'self' *.notifications.service.gov.uk data:;"
)