Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie page #13

govuk-design-system opened this issue Jan 12, 2018 · 6 comments

Cookie page #13

govuk-design-system opened this issue Jan 12, 2018 · 6 comments


Copy link

@govuk-design-system govuk-design-system commented Jan 12, 2018


Help users manage their personal data by telling them what information you store as cookies on their device. This pattern is related to the Cookie banner component


Anything else

Copy link

@StephenGill StephenGill commented Oct 24, 2018

I wonder if we need a pattern for this, given that there's guidance in the service manual?

Copy link

@drewno-design drewno-design commented Nov 14, 2019

Don't we have to give users an option to opt-out of cookies?

Copy link

@nickcolley nickcolley commented Nov 27, 2019

Hello @ralph-drewnowski,

In December 2019 the Government Digital Service (GDS) will run a discovery with organisations across government to explore how opt-in consent to cookies on GOV.UK would impact analytics.

After the discovery, GDS will update the Service Manual and GOV.UK Design System with relevant guidance or patterns.

For general guidance on cookies you can read:

Blog: Cookies – what does ‘good’ look like? (

Copy link

@titlescreen titlescreen commented Feb 12, 2020

We didn't have a pattern so just put something together using the relevant parts from the design system. Whilst a patter might seem like a bit of overkill, I think anything we can do to make pages like this less painful is a good thing.

We could take this as an opportunity to include some same text, or provide some best practice in terms of what content could be included.

On a side note, I think this should be renamed to Cookies as that seems to be the convention, plus it could be a little misleading as we use more than one cookie.


Copy link

@CharlotteDowns CharlotteDowns commented Jan 25, 2021

GOV.UK Design System working group review: Cookie page component

Representatives from the GOV.UK Design System working group reviewed this contribution in December 2020.

Based on a majority vote, the group decided that:

  • The contribution can be published as it is, although technical guidance and implementation were not included in the proposal.

They also made the following recommendations.


  • Include guidance for what state the selections should be when users haven’t yet accepted or rejected cookies.
  • Include guidance for websites that use no cookies or essential cookies only.


  • Consider using a cookie page example from another service.


  • Clarify what the page behaviour is with or without javascript.
  • Clarify which cookies are essential and which fit into other categories, for example, functional.

Next steps

Based on this feedback, the GOV.UK Design System team have agreed to:

  • Update the cookie page example in the guidance.
  • Provide guidance on the states of the radio buttons before a user sets their cookie preferences.
  • Determine whether or not to use a success notification banner to provide a user with confirmation that their cookie preferences have been set.
  • We've decided to follow GOV.UK in classifying the cookie which remembers cookie preferences as 'essential' rather than 'functional' - because the site appears broken if we're not able to set that cookie.
Copy link

@CharlotteDowns CharlotteDowns commented Feb 8, 2021

Release of cookie page

The cookie page pattern has been published in the Design System.

The cookie page pattern tells users about the cookies you’re setting on their device and lets them accept or reject different types of non-essential cookies.

This was developed together with the cookie banner component.

Problems to solve

We looked to:

  • help service teams to categorise different types of cookie
  • define behaviour if users don’t choose an option in the cookie banner
  • understand the experience for users who are not running JavaScript or for services that don’t set cookies
  • provide guidance to help users set their cookie preferences at any time
  • inform the user that their preferences and been set or changed

What we decided and what has changed

We decided:

  • to provide guidance on how to categorise cookies
  • to ask services to load the cookies page with radios set to ‘no’ on the user’s first visit. If the user has previously used the service and set their preferences, the page is loaded with those preferences selected
  • to ask services to display a different version of the cookies page if users are not running JavaScript
  • to ask services to link to the cookies page from the service footer
  • if a user updates their cookie preferences using the radios on the cookie page, use a notification banner component to confirm that their new settings have been saved

How you can help our ongoing user research

Share your research or feedback by commenting on this issue or propose a change – read more about how to propose changes in GitHub

@CharlotteDowns CharlotteDowns moved this from In progress to Published in GOV.UK Design System Community Backlog Feb 8, 2021
@kellylee-gds kellylee-gds moved this from Published to In progress in GOV.UK Design System Community Backlog Feb 12, 2021
@kellylee-gds kellylee-gds moved this from In progress to Published in GOV.UK Design System Community Backlog Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants