Skip to main content

Why and how we updated the GOV.UK campaign templates

Man sitting at a table in an office with a laptop open. On the laptop screen there is the campaign template backend showing a page with title “Setting up GA4”.

There’s a new and improved campaign template for communicators across government to use on GOV.UK. Read what’s changed and how we’ve tested it.

The impact of removing jQuery on our web performance

2 women at a desk in an office

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.

How we're saving publishers time by converting formatted text

Screenshot of a javascript code snippet of the paste-html-to-govspeak implementation. The first line is a code comment reading: “npm install paste-html-to-govspeak”. The next line imports the module, reading: “import { pasteListener } from 'paste-html-to-govspeak'”. The last line gives an example of how to attach the paste event listener to the element, this reads as “element.addEventListener('paste', pasteListener)”.

We’ve reduced the time and effort it takes to create content on GOV.UK by improving the pasting of formatted content. Here’s why and how we did it.