Skip to content

Commit

Permalink
Adds new content for cookies page. Fixes layout on cookies and privac…
Browse files Browse the repository at this point in the history
…y page
  • Loading branch information
gdbarnes committed Jan 23, 2025
1 parent 4f7e521 commit 77ac3e5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 67 deletions.
80 changes: 16 additions & 64 deletions app/core/templates/cookies.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,20 @@ <h2 class="govuk-notification-banner__title" id="govuk-notification-banner-title
</div>
{% endif %}
<div class="govuk-grid-row govuk-!-margin-bottom-4">
<div class="govuk-grid-column-three-quarters">
<h1 class="govuk-heading-xl">Cookies on the {{service_name}} service</h1>
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">Cookies on Find business regulations and guidance</h1>
</div>
</div>
<div class="govuk-grid-row govuk-body">
<div class="govuk-grid-column-three-quarters">
<div class="govuk-grid-column-two-thirds">
<h2 class="govuk-heading-l">Cookies</h2>
<p>Cookies are small files saved on your phone, tablet or computer when you visit a website.</p>
<p>We use cookies to make {{service_name}} work and collect information
about how you use our service.</p>
<p>We use cookies to make this service work and collect information about how you use it.</p>
<p>Find out <a href="https://ico.org.uk/for-the-public/online/cookies" class="govuk-link">how to manage
cookies</a> from the Information Commissioner's Office.</p>

<h2 class="govuk-heading-l">Essential cookies</h2>
<p>Essential cookies keep your information secure while you use Check when large businesses pay their
suppliers. We do not need to ask permission to use them.</p>
<p>Essential cookies keep your information secure while you use this service. We do not need to ask permission to use them.</p>
<table class="govuk-table app-cookies-table">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
Expand Down Expand Up @@ -85,66 +84,19 @@ <h2 class="govuk-heading-l">Essential cookies</h2>

<h2 class="govuk-heading-l">Analytics cookies (optional)</h2>
<p class="govuk-body">
With your permission, we use Google Analytics to collect data about how you use {{service_name}}. This information helps us to improve our service.
We use the Google Analytics cookies detailed in the <a href="https://www.gov.uk/help/cookie-details" class="govuk-link">GOV.UK Cookie Policy</a> to collect information about:
</p>
<div class="govuk-inset-text">
Google is not allowed to use or share our analytics data with anyone.
</div>
<p class="govuk-body">Google Analytics stores anonymised information about:</p>
<ul class="govuk-list govuk-list--bullet">
<li>how you got to {{service_name}}</li>
<li>the pages you visit on {{service_name}} and how long you spend on
them</li>
<li>any errors you see while using {{service_name}}</li>
<li>the pages you visit</li>
<li>how long you spend on each page</li>
<li>how you got to the site</li>
<li>what you click on while you're visiting the site</li>
<li>technical information about your device such as your IP address</li>
</ul>
<p class="govuk-body">Google Analytics sets the following cookies:</p>
<table class="govuk-table app-cookies-table">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
<th class="govuk-table__header" scope="col">Name</th>
<th class="govuk-table__header" scope="col">Purpose</th>
<th class="govuk-table__header" scope="col">Expires</th>
</tr>
</thead>
<tbody class="govuk-table__body">
<tr class="govuk-table__row">
<th class="govuk-table__header govuk-!-width-one-quarter app-!-vertical-align-top"
scope="row">
_ga
</th>
<td class="govuk-table__cell app-!-vertical-align-top">
This helps us count how many people visit this site by tracking if you've visited before
</td>
<td class="govuk-table__cell app-!-vertical-align-top govuk-!-width-one-quarter">
2 years
</td>
</tr>
<tr class="govuk-table__row">
<th class="govuk-table__header govuk-!-width-one-quarter app-!-vertical-align-top"
scope="row">
_gid
</th>
<td class="govuk-table__cell app-!-vertical-align-top">
This helps us count how many people visit this site by tracking if you've visited before
</td>
<td class="govuk-table__cell app-!-vertical-align-top govuk-!-width-one-quarter">
1 day
</td>
</tr>
<tr class="govuk-table__row">
<th class="govuk-table__header govuk-!-width-one-quarter app-!-vertical-align-top"
scope="row">
_gat
</th>
<td class="govuk-table__cell app-!-vertical-align-top">
Used to manage the rate at which page view requests are made
</td>
<td class="govuk-table__cell app-!-vertical-align-top govuk-!-width-one-quarter">
1 minute
</td>
</tr>
</tbody>
</table>
<div class="govuk-inset-text">
Google is not allowed to use or share this data for their own purposes.
</div>

<h2 class="govuk-heading-l">Change your cookie settings</h2>
<form method="post" novalidate>
{% csrf_token %}
Expand Down
4 changes: 2 additions & 2 deletions app/core/templates/privacy_notice.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<div class="govuk-width-container">
<main class="govuk-main-wrapper govuk-main-wrapper--l" id="main-content" role="main">
<div class="govuk-grid-row govuk-!-margin-bottom-4">
<div class="govuk-grid-column-three-quarters">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">Privacy notice</h1>
</div>
</div>
<div class="govuk-grid-row govuk-body">
<div class="govuk-grid-column-three-quarters">
<div class="govuk-grid-column-two-thirds">
<h2 class="govuk-heading-m">The purpose of this notice</h2>
<p class="govuk-body">This privacy notice explains how the Department for Business and Trade (DBT), as a 'data controller', processes personal data for the 'Find business regulations and guidance' service on GOV.UK.
</p>
Expand Down
2 changes: 1 addition & 1 deletion fbr/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@

SERVICE_NAME: str = "Find business regulations"
SERVICE_NAME_SEARCH: str = "Find business regulations"
CONTACT_EMAIL: str = "findbusinessregulations@businessandtrade.gov.uk"
CONTACT_EMAIL: str = "find-business-regulations@businessandtrade.gov.uk"

# Cookies
ANALYTICS_CONSENT_NAME: str = "analytics_consent"
Expand Down

0 comments on commit 77ac3e5

Please sign in to comment.