Google Analytics 4 Implementation record
This site contains a record of the data implementation for Google Analytics 4 on GOV.UK Publishing. It has been built as an aid to developers on GOV.UK Publishing but is being made available for anyone who may find our approach useful.
Details of the data pushed to the dataLayer when tracking occurs, including event and attribute details.
Relevant documentation including our approach.