Setting Up GA4 for a Small Business Website
GA4 has been the default for over a year now, and most small business sites still aren't tracking the things that matter. Here's how to set it up properly from scratch — no tag manager required.
mubashar
Universal Analytics is gone. GA4 is what you've got, and it's genuinely different — not just a visual refresh. The data model changed from sessions to events, and if you've been avoiding learning it, this is a practical starting point.
Create Your GA4 Property
Go to Google Analytics, create a new property, and set up a Web data stream for your domain. You'll get a Measurement ID that looks like G-XXXXXXXXXX. Copy it.
Install the Tracking Code
Add the gtag.js snippet directly to your <head>. Paste it on every page — in a base template if you're using Django or WordPress.
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>Set Up Key Events
Go to Admin → Events and mark the events that matter as key events. For most small business sites: form submissions, phone link clicks, and purchase events if you have a shop.
Connect Google Search Console
Go to Admin → Property Settings → Search Console links. This pulls organic search data directly into GA4 — you'll see which queries drive traffic.
The Reports Worth Checking Weekly
Acquisition → Traffic acquisition shows where visitors come from. Engagement → Pages and screens shows which content gets attention. These two reports answer most questions for a small business site.
Written by
Mubashar Iqbal
Web developer, SEO expert, and independent maker. I build products, write about what I've learned, and create free tools for developers and marketers.