Home › Blog › Google Analytics 4 Setup for Beginners: Step by Step

Google Analytics 4 Setup for Beginners: Step by Step

By Umar Hayat · Updated 4 November 2026

Google Analytics 4, or GA4, is a free tool that counts visitors and shows where they come from and what they do. Here is the simplest way to set it up.

Step 1: create the property

Go to analytics.google.com and sign in. Create an account, then a property, and enter your site details and time zone.

Step 2: add a web data stream

Choose Web, enter your website address and give the stream a name. After saving, you will see a Measurement ID that starts with G followed by a dash.

Step 3: install the tag

Copy the Google tag code shown in the stream details and paste it inside the head part of every page, before the closing head tag. If you use a website builder, look for a field named Google Analytics or Measurement ID.

Step 4: test it

Open your site in another tab, then open Reports and Realtime in Analytics. You should see yourself as one active user within a minute or so.

Step 5: read the basics

Standard reports can take a day or more to fill, so be patient.

Privacy

Tell visitors you use analytics in your privacy policy, and follow the rules that apply in your country.

Frequently asked questions

Is Google Analytics free?

Yes, the standard version is free.

Why do I see no data?

Check that the tag is on every page and wait up to a day. Realtime is the quickest place to confirm that it works.

Related articles

Free tools: Free website checker in Urdu · Free website speed test · Free SEO checker in Roman Urdu

Check my website free