If you run a local business, whether you are a plumber, a dentist, a boutique owner, or a local attorney, you don’t care about generic website “pageviews.” A million visitors from across the globe won’t keep your doors open.
You care about local actions: phone calls, clicks for driving directions, and local quote requests.
To track these actions accurately, you need Google Analytics 4 (GA4). However, setting up GA4 can feel like trying to decode rocket science. In this guide, we will cut through the technical jargon and show you exactly how to set up GA4 for your local business website so you can see exactly which marketing efforts are driving real, local customers to your business.
The Core Concept: Moving from “Conversions” to “Key Events”
Before we jump into the setup, there is an important terminology shift you need to know.
Google updated GA4’s language to align better with Google Ads. In GA4, the high-value actions you want to track on your website (like a phone call click or a form submission) are no longer called “Conversions” inside your standard reports. They are now officially called Key Events.
(Note: “Conversions” still exist, but only when you link GA4 to Google Ads to track bid performance. For your day-to-day website reporting, you will be looking at Key Events).
With that quick update out of the way, let’s get your tracking live.
Step 1: Create Your GA4 Account and Property
If you don’t have a Google Analytics account yet, your first step is to create one.
- Go to analytics.google.com and sign in with your business’s Google account.
- Click Create Account and enter your business name.
- Under Property Setup, name your property (e.g., “My Local Business Website”), select your local reporting time zone, and choose your local currency.
- Fill out the brief business details (industry category and business size) and click Create.
Step 2: Set Up a “Data Stream” to Connect Your Website
GA4 collects data via “Data Streams.” Since you are tracking a local business website, you will set up a Web Stream.
- Choose Web as your platform.
- Enter your website’s URL (e.g., my-local-business.com) and give the stream a name (e.g., “Main Website”).
- Leave Enhanced Measurement toggled ON. This is a powerful, built-in GA4 feature that automatically tracks basic actions like page scrolls, outbound link clicks, and file downloads without you having to write code.
- Click Create Stream.
Once created, Google will show you your Measurement ID (which starts with G-). Copy this ID; you will need it for the next step.
Step 3: Install the Google Tag on Your Website
To start collecting data, you must place Google’s tracking code on your website. How you do this depends on the platform you used to build your site:
For WordPress Users:
The easiest way is to use a plugin like MonsterInsights or Rank Math. Simply install the plugin, navigate to its settings, paste your G- Measurement ID, and the plugin will handle the coding for you.
For Squarespace, Wix, or Shopify Users:
These platforms have built-in Google Analytics integrations.
- Squarespace: Go to Settings > Developer Tools > External API Keys and paste your Measurement ID.
- Wix: Go to Marketing & SEO > Marketing Integrations > Google Analytics and paste your ID.
- Shopify: Go to Online Store > Preferences, find the Google Analytics section, and follow the prompts to link your account.
For Custom Websites:
If you have a hand-coded site, copy the JavaScript code block (the “Google Tag”) provided in your GA4 Setup Assistant and paste it directly into the <head> section of every page on your website.
Step 4: Define Your Local “Key Events”
Now for the most important step for local businesses: telling GA4 which events are your critical KPIs. For a local business, your primary Key Events should be:
- Phone Call Clicks (click_to_call): When someone on a mobile phone clicks your phone number to call you.
- Direction Clicks (click_for_directions): When someone clicks your address link to open Google Maps.
- Contact Form Submissions (lead_form_submit): When someone requests a quote or books an appointment.
How to turn these actions into Key Events:
- In the bottom-left corner of GA4, click Admin (the gear icon).
- Under Data Display, click on Events.
- Here, you will see a list of all the events GA4 has tracked recently.
- Find the event representing your high-value action (for example, form_submit or a custom click event).
- Simply turn on the toggle switch next to that event under the column marked Mark as key event.
If you don’t see the specific event you want to track because your site is brand new, you can create a custom event using Google Tag Manager to trigger whenever someone clicks your phone number, then mark that custom event as a Key Event.
Step 5: Fix the “2-Month” Data Retention Mistake (Rookie Error)
By default, Google Analytics 4 is configured to delete user and event data after just 2 months. This is a massive headache for local businesses because it prevents you from comparing this year’s summer traffic to last year’s summer traffic.
You must change this setting immediately:
- In the GA4 Admin panel, look under Data Collection and Modification.
- Click on Data Retention.
- Change the Event data retention setting from 2 months to 14 months.
- Click Save.
Now you will be able to perform robust, year-over-year trend analyses to see if your local footprint is actually growing.
Step 6: Link GA4 to Your Google Business Profile & Google Ads
Your Google Business Profile (GBP) the listing that controls your appearance on Google Maps—is the lifeblood of local SEO.
While you can track map views directly inside your GBP dashboard, you want to see how those map interactions convert once they hit your website.
To bridge this gap:
- Use UTM tracking links on your Google Business Profile “Website” button. Set your URL as: https://my-local-business.com/?utm_source=google&utm_medium=organic&utm_campaign=gbp-listing
- When GBP visitors click through to your site, GA4 will now isolate them, allowing you to see exactly how many phone calls or bookings came directly from your Google Map listing.
- If you run Google Ads, go to Admin > Product Links > Google Ads Links and link your accounts. This ensures your GA4 Key Events can be imported directly into Google Ads as Conversions for seamless ad optimization.
Summary: The Local Analytics Formula
Data-driven local marketing isn’t about chasing complex metrics. It’s about ensuring that your local web presence successfully moves prospects from “just looking” to “getting in touch.” The formula is simple:
By properly installing GA4, changing your data retention to 14 months, and setting up Key Events for phone calls, map clicks, and form submissions, you will have 100% clarity on where your marketing dollars are actually going. Stop guessing if your website is working set up your tracking today and let the data guide your growth!