Google Analytics: measure your site’s visits
Here you paste the Google Analytics or Google Tag Manager code to know how many visits you get, where they come from and which pages they read.
Connecting Google Analytics
- At analytics.google.com, create a property for your site and copy the Google tag (the block starting with
). - Paste it into Analytics › Head tag.
- Save.
If you use Tag Manager, paste its head code and its body code into the Tag Manager fields. You do not need both at once.
Important: it only measures with consent
To comply with privacy law (GDPR), Google’s code only loads when:
- the cookie notice is active in Cookies, and
- the visitor has accepted it.
Without an active cookie notice, Analytics measures nothing. Also check that the Google plugin is enabled in Plugins.