Google Analytics 4 (GA4) is free, powerful, and takes about ten minutes to add to a simple HTML site. Without it, you are flying blind — you have no idea how many people visit your site, where they come from, which articles they read, or how long they stay. With it, every content and SEO decision becomes data-informed.
Why GA4 matters for AdSense sites
Understanding your traffic is essential for growing your AdSense income. GA4 tells you which articles drive the most traffic (so you can write more like them), which traffic sources send the most engaged visitors (so you can focus your promotion efforts), which pages have high bounce rates (so you can improve them), and how your traffic trends over time (so you can see whether your SEO efforts are working).
Step 1 — Create a GA4 property
Go to analytics.google.com and sign in with your Google account. Click Create Property. Enter your property name (for example, GetNicheIQ), select your time zone and currency, then continue through the setup wizard. When asked about your business, choose the options that best describe your micro site — a small media or publishing business is usually the closest fit.
Step 2 — Set up a web data stream
After creating the property, select Web as your platform and enter your site URL. Give the stream a name (your site name is fine) and click Create Stream. Google will generate a Measurement ID that looks like G-XXXXXXXXXX. Copy this ID — you need it in the next step.
Step 3 — Add the tracking code to your site
Google will give you a small JavaScript snippet to add to your site. It looks like this (with your actual Measurement ID in place of G-XXXXXXXXXX):
Paste the Google Analytics script tag into the head section of every HTML page on your site, just before the closing head tag. Then re-upload all your files to Netlify. GA4 will start collecting data within 24 to 48 hours.
Step 4 — Verify it is working
In your GA4 dashboard, click Reports then Realtime. Open your website in a separate browser tab and navigate around. Within a minute or two, you should see yourself appear as an active user in the Realtime report. If you see data, your tracking is working correctly.
The reports that matter most for new sites
In the early months, check three reports regularly. The Acquisition report shows where your traffic comes from — organic search, direct, social, and referral. The Engagement report shows which pages get the most views and how long visitors spend on them. The Search Console integration (link your GA4 and Search Console accounts) shows which search queries are bringing visitors and what your average ranking position is for each query.
GA4 and AdSense approval
Google does not require GA4 for AdSense approval, but having it installed demonstrates that your site is actively managed and that you track its performance. Some publishers report that sites with analytics installed have smoother approval processes, though this is anecdotal. More practically, you will want it in place from launch so you have historical data to look back on as your site grows.