How to set up Google Analytics 4
By Ash, Founder, HosteazePublished 3 min read
The short answer
Go to analytics.google.com, create an account and property, then add a Web data stream for your site. Copy the Measurement ID that starts with G- into your website builder or plugin, or paste the Google tag into every page. Check the Realtime report within about 30 minutes, then set data retention and mark your key events.

Google Analytics 4, usually shortened to GA4, shows you who visits your website, where they came from and what they do. Setup takes about 20 minutes. The part people skip, and regret later, is the five minutes of settings afterwards.
How do I create the property?
- Go to analytics.google.com and sign in with the Google Account your business will keep long term. Avoid a staff member's personal account.
- Click Start measuring (or, if you already have an account, go to Admin, click Create and choose Property).
- Give the account a name, such as your business name, and click Next.
- Name the property, then set the reporting time zone to United Kingdom and the currency to British pound.
- Choose your industry, business size and what you want to use Analytics for, then click Create and accept the terms.
How do I add my website?
- Choose Web as the platform.
- Enter your website address and a stream name, such as "Main website".
- Leave Enhanced measurement switched on. It records page views, scrolls, outbound clicks and more without extra setup.
- Click Create stream and copy the Measurement ID, which starts with
G-.
How do I install the tag?
How you add it depends on how your site is built.
| Your site | How to install | Difficulty |
|---|---|---|
| Wix, Squarespace or a similar builder | Paste the G- ID into the builder's Google Analytics setting | Easy |
| WordPress | Use Site Kit by Google, the plugin Google officially supports, or your SEO plugin's analytics option | Easy |
| Custom-built site | Paste the Google tag straight after the opening <head> on every page | Moderate |
| Already using Google Tag Manager | Add a Google tag in Tag Manager with your G- ID | Moderate |
Then open your site in a different browser or on your phone and check Reports > Realtime. Google says data can take up to 30 minutes to begin. If you see yourself, it's working.
Which settings should I change straight away?
- Data retention: in Admin, open Data retention and choose 14 months. It doesn't affect standard reports, but on 2 months your explorations and funnel reports can't look back further than that, so you lose year-on-year detail.
- Key events: mark the actions that matter, such as a contact form submission or a purchase, as key events. In Admin > Events, click the star next to the event. Standard properties can have up to 30.
- Internal traffic: filter out your own office visits if you have a fixed IP address, so your daily checks don't inflate the numbers.
What about cookie consent?
GA4 uses cookies, so the UK's cookie rules (PECR) apply. As of October 2026, there's an exception for analytics used only to produce aggregate statistics to improve your site, as long as you tell visitors and give them a simple, free way to object. The ICO is clear that it doesn't cover tracking individuals or advertising. If you link GA4 to Google Ads or use it for remarketing, you need consent, and EU visitors generally need to opt in too. Our guide to whether you need a cookie banner explains the options, and your privacy policy should mention Analytics either way.
Once GA4 is collecting, connect it with Google Search Console, which shows the searches that bring people in. Together they tell you what's working, and what a good conversion rate looks like for your site.
Step by step
1.Create an account and property
At analytics.google.com, click Start measuring, name your account, then create a property with your time zone and currency set to the UK and GBP.
2.Add a web data stream
Choose Web, enter your website address and a stream name, leave enhanced measurement on and click Create stream.
3.Install the tag
Copy the Measurement ID starting G- into your website builder or plugin, or paste the Google tag straight after the opening head tag on every page.
4.Check it works
Visit your site in another browser and look for yourself in the Realtime report. Data can take up to 30 minutes to start.
5.Adjust settings
Set data retention to 14 months and mark your enquiry or purchase events as key events.
Frequently asked questions
Do I need a cookie banner for Google Analytics in the UK?
As of October 2026, UK law exempts analytics used only for aggregate statistics to improve your site, provided you explain it and offer a simple way to object. Many GA4 setups go beyond that, for example when linked to Google Ads, so most businesses still ask for consent. Visitors from the EU generally need to give consent.
Is Google Analytics free?
The standard version is free. Analytics 360 is a paid version for large organisations, and you won't need it.
Why does GA4 show fewer visitors than my hosting statistics?
Hosting statistics count every request, including bots, while GA4 only counts visitors whose browsers run the tag and, where you ask for it, who give consent. Treat GA4 as a trend line rather than an exact headcount.




