Google Analytics 4 implementation record

This site contains a record of the data implementation for Google Analytics 4 (GA4) on GOV.UK Publishing. It was built to aid developers on GOV.UK Publishing but is available to anyone who may find our approach useful.

Data

Details of our data schema, including event and attribute details.

Browse data

Documentation

Documentation relevant to GOV.UK’s dataLayer approach.

Browse documentation

This documentation is part of the GOV.UK Developer docs.