Cookies on ons.gov.uk

Cookies are small files stored on your device when you visit a website. We use some essential cookies to make this website work.

We would like to set additional cookies to remember your settings and understand how you use the site. This helps us to improve our services.

You have accepted all additional cookies. You have rejected all additional cookies. You can change your cookie preferences at any time.

Skip to main content

Cookies on ons.gov.uk

Cookies are small files saved on your phone, tablet or computer when you visit a website.

We use cookies to store information about how you use the ONS website, such as the pages you visit.

Cookie settings

We use JavaScript to set our cookies. Javascript is not running on your browser so you cannot change your settings.

You can try:

  • turning on JavaScript in your browser
  • reloading the page in case there was a temporary fault with JavaScript

We use three types of cookie. You can choose which cookies you're happy for us to use.

Cookies that measure website use

We use Google Analytics to measure how you use the website so we can improve it based on user needs. Google Analytics sets cookies that store anonymised information about:

  • how you got to the site
  • the pages you visit on ons.gov.uk and how long you spend on each page
  • what you click on while you're visiting the site

Learn more about these Google Analytics cookies

NamePurposeExpires
_gaThis helps us count how many people visit ons.gov.uk by tracking if you’ve visited before2 years
_gidThis helps us count how many people visit ons.gov.uk by tracking if you’ve visited before24 hours
_gatUsed to manage the rate at which page view requests are made10 minutes

We do not allow Google to use or share the data about how you use this site.

Do you want to allow usage tracking?

This selection will expire after two years.

Cookies that help with our communications

Some of our pages may contain content from other sites, like YouTube, which may set their own cookies. These sites are sometimes called “third party” services. This tells us how many people are seeing the content and whether it’s useful.

In addition, if you share a link to a ons.gov.uk page, the service you share it on may set a cookie. We have no control over cookies set on other websites – you can turn them off, but not through us.

YouTube videos

We use YouTube to show videos on some ons.gov.uk pages. YouTube sets cookies when you visit one of these pages.

Learn more about these YouTube cookies
NamePurposeExpires
_use_hitboxThis is a randomly generated number that identifies your browserWhen you close your browser
VISITOR_INFO1_LIVELets Youtube count the views of embedded Youtube videos9 months
Do you want to allow communications tracking?

Cookies that remember your settings

These cookies do things like remember your preferences and the choices you make, to personalise your experience of using the site.

Do you want to allow settings?

Strictly necessary cookies

These essential cookies do things like:

  • remember the notifications you've seen so we do not show them to you again
  • remember your progress through a form (for example, an ons study)

They always need to be on.

Learn more about these essential cookies

Your progress when filling in a survey or questionnaire

We’ll set a cookie to remember your progress through a survey or questionnaire. These cookies do not store your personal data and are deleted once you’ve completed the survey or questionnaire.

NamePurposeExpires
licensing_sessionSet to remember information you’ve entered into a formWhen you close your browser
Cookie message

You may see a banner when you visit ons.gov.uk inviting you to accept cookies or review your settings. We’ll set cookies so that your computer knows you’ve seen it and not to show it again, and also to store your settings.

NamePurposeExpires
ons_cookie_message_displayedLets us know that you’ve seen our cookie message1 year
ons_cookie_policySaves your cookie consent settings1 year