Moving across to Google Analytics 4 is a major project. Here’s how we did it and what we’ll be doing to ensure minimal impact to the performance of GOV.UK.
Andy Sellick, Senior frontend developer, GOV.UK
In this blog post, we explain the technical details of removing the jQuery library from GOV.UK’s public facing applications and the performance impact it had for our users.
Removing jQuery from GOV.UK was a huge yet manageable task that led to improved code and performance gains across the site. This is how and why we did this work.
We explain what scroll tracking is, why the original scroll tracker wasn't fit for purpose, why we built a new one, and some of the complexities involved.
User research helps us understand how people use GOV.UK and what we can do to improve their experience. Find out how a designer and a developer undertook pop-up research to test GOV.UK search on mobile devices.
Related content and links
A blog about running and improving the GOV.UK website, for anyone who is working on GOV.UK or interested in how the digital home of the UK government works. Written by the GOV.UK Team
Standards and guidelines
- A bold new look for the GOV.UK homepage 1 November 2023
- Undertaking GOV.UK's largest software infrastructure project 20 September 2023
- How we developed GOV.UK’s strategy for growth 24 August 2023
- Making it easier to add images on GOV.UK 10 August 2023
- Updating GOV.UK when there is a machinery of government change 15 June 2023