alphagov / govuk-browser-extension

Chrome and Firefox extension for developers working on GOV.UK.
24 stars 5 forks source link

New Feature: GA4 Testing and debugging #204

Open MartinJJones opened 2 months ago

MartinJJones commented 2 months ago

What

Add support for GA4 testing and debugging into the govuk-browser-extension.

Why

The functionality to see GA4 event data is already available by running window.GOVUK.analyticsGa4.showDebug = true in the console, see GA4 Developer Guide for further information. Having this feature available in the govuk-browser-extension could help raise awareness that this feature exists and make it a bit more accessible for all users with an interest in seeing the data, developers and performance analysts for example.