Information

Help us improve the Design System by taking our short survey.

Google Analytics 4 (GA4)

Advice on the setup of Google Analytics 4 (GA4) for sites using the Scottish Government Design System sites.

Setup

Google Analytics offers both free and enterprise analytics tools to measure website and app data. The most recent offering is Google Analytics 4 (GA4) which has different setup steps to the older analytics package, Universal Analytics.

These steps assume that you use Google Tag Manager and the Design System tracking script to deliver analytics on your site.

As with any site, after doing all of this you’ll still need to sort out your reporting dashboards, cookies controls, privacy statements, manage your access to your accounts, etc.

Additional reading

Back to top