Skip to content

Commit

Permalink
Merge pull request #359 from alphagov/gtdata/update-cookies
Browse files Browse the repository at this point in the history
Update cookies.html.erb
  • Loading branch information
Laurent Curau authored Jan 22, 2018
2 parents fa664ea + 367d05a commit 40454f2
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/dgu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@
background: $grey-3;
padding: em(2) em(5) em(2) em(5);
}

.table-wrapper {
margin: 20px 0;
padding-bottom: 20px;
}
59 changes: 58 additions & 1 deletion app/views/pages/cookies.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,63 @@
Cookies -
<% end %>

<h1 class="heading-large">
<h1 class="heading-xlarge">
Cookies
</h1>

<p>The data.gov.uk team will collect data on how you browse the site to help us improve it.</p>

<p>We’ll use Google Analytics to collect data on:</p>

<ul class="list list-bullet">
<li>the terms you enter into the search box</li>
<li>the pages you visit</li>
<li>the links you click on</li>
</ul>

<p>When you visit data.gov.uk, we’ll put a small file (known as a ‘cookie’) onto your computer to collect the data.</p>

<h2 class="heading-large">How cookies are used on data.gov.uk</h2>

<p>We use cookies to:</p>

<ul class="list list-bullet">
<li>measure how you use the service so it can be updated and improved based on your needs</li>
<li>remember the notifications you’ve seen so that we don’t show them to you again</li>
<li>remember that you’ve already seen this page</li>
</ul>

<p>We won’t use cookies for any other reasons.</p>

<p>You’ll see a message on the site before we store a cookie on your computer.</p>

<p>These are the Google Analytics cookies we’ll use:</p>

<div class="table-wrapper">
<table>
<thead>
<th>Name</th>
<th>Purpose</th>
<th>Expires</th>
</thead>

<tbody>
<tr>
<td>_ga, _gid</td>
<td>
These help us count how many people visit beta.data.gov.uk<br />
by tracking if you’ve visited before
</td>
<td>_ga 2 years, _gid 24 hours</td>
</tr>

<tr>
<td>_gat</td>
<td>Used to manage the rate at which page view requests are made</td>
<td>10 minutes</td>
</tr>
</tbody>
</table>
</div>

<p>Find out more about <%= link_to 'how to manage cookies', 'https://ico.org.uk/for-the-public/online/cookies', target: '_blank' %>.</p>

0 comments on commit 40454f2

Please sign in to comment.