Skip to content

Commit

Permalink
Merge pull request #533 from alphagov/no-analytics
Browse files Browse the repository at this point in the history
Remove google analytics code from 404 / 410 pages
  • Loading branch information
richardTowers authored Jun 26, 2024
2 parents 0570c3c + e3ad5e8 commit b2b64b3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions public/google-analytics.js

This file was deleted.

3 changes: 0 additions & 3 deletions templates/404.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
<title>404 - Not Found</title>
<link href="/gone.css" media="screen" rel="stylesheet" type="text/css">
<!--[if lte IE 8]><link href="/ie.css" media="screen" rel="stylesheet" type="text/css"><![endif]-->
<% if ENV['RACK_ENV'] != 'development' %>
<script src="/google-analytics.js" type="text/javascript"></script>
<% end %>
</head>
<body>
<div id="wrapper">
Expand Down
3 changes: 0 additions & 3 deletions templates/410.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
<title>410 - Page Archived</title>
<link href="/gone.css" media="screen" rel="stylesheet" type="text/css">
<!--[if lte IE 8]><link href="/ie.css" media="screen" rel="stylesheet" type="text/css"><![endif]-->
<% if ENV['RACK_ENV'] != 'development' %>
<script src="/google-analytics.js" type="text/javascript"></script>
<% end %>
</head>
<body>
<div id="wrapper">
Expand Down

0 comments on commit b2b64b3

Please sign in to comment.