Information

You appear to be using an unsupported browser, and it may not be able to display this site properly. You may wish to upgrade your browser.

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