Web Analytics Fundamentals: Setting Up Google Analytics

Configure Google Analytics 4 correctly from the start so you collect reliable data that actually informs smarter business decisions.

Published 7 min read
Fredy RodriguezFredy Rodriguez
Close-up of industrial analog gauges on a matte metal panel, representing web analytics measurement and data tracking setup
Table of Contents

If your website has no analytics installed, every decision you make about it is a guess. You cannot know where visitors come from, which pages they read, or whether anyone fills out your contact form. Google Analytics 4 (GA4) is the tool that ends that guesswork, and it costs nothing to use.

This guide walks you through the complete setup: account creation, the tracking tag, verification, and the first reports you should actually check. If you have already launched a site without analytics, there is no better time than today. According to W3Techs, Google Analytics is used by 44.7% of all websites on the internet. The businesses not using it are flying blind.

Why GA4 is the analytics baseline every small business site needs

GA4 is designed to answer business questions rather than produce raw data tables. The core value is direct: you learn what is working and stop spending money on what is not.

A Houston contractor might discover that 70% of their contact form submissions come from organic search and 0% from the social media posts they pay someone to write. That data point exists only if analytics is running.

Start here. Everything in the next part of this series on understanding user behavior depends on data flowing from a correctly configured property.

Creating your GA4 account and property

Go to analytics.google.com and sign in with a Google account. If this is your first time, click Start measuring. The official GA4 setup guide covers every step with screenshots, but here is the sequence:

Step 1: Create the account. Provide an account name (your business name works). Configure data-sharing settings. Click Next.

Step 2: Create the property and data stream. Name the property (usually your domain), set your time zone and currency, then choose Web as your platform. Enter your website URL and give the stream a name. Click Create stream. You will land on a screen showing your Measurement ID (formatted as G-XXXXXXXXXX). Copy it. You need it in the next step.

The property is the container that holds your data. The data stream is the channel through which data flows from your site into that container.

Adding the tracking tag to your site

You have two paths: Google Tag Manager or direct installation.

Google Tag Manager path

Google Tag Manager (GTM) is a free tool that lets you manage tracking tags without editing code. If your site already has GTM installed, add your GA4 Measurement ID as a new tag: choose the Google Tag template, enter your Measurement ID, and set the trigger to fire on all pages. Publish the container.

If GTM is not on your site yet, install the GTM snippet first (two short code blocks in <head> and <body>), then add GA4 as described above. Most platforms have a dedicated header/footer field where you paste snippets without touching template files.

Direct code installation

If you prefer not to use Tag Manager, paste the GA4 global site tag directly into the <head> of every page:

<!-- Google tag (gtag.js) -->
<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>

Replace G-XXXXXXXXXX with your actual Measurement ID.

Platform quick notes: WordPress users can install the free Site Kit by Google plugin, which handles the snippet and connects Search Console at the same time. Webflow users add the tag under Project Settings > Custom Code. Squarespace has a dedicated Analytics field under Settings > Advanced.

Verifying that data is flowing

Before moving on, confirm the tag is working. In GA4, go to Reports > Realtime. Open your website in a separate browser tab. Within 30 seconds, you should see yourself appear as an active user. If the realtime report shows zero users after a full minute, the tag is not firing. Common causes: the snippet was pasted into only one page template, the Measurement ID was mistyped, or a caching plugin is serving an old version of the page.

Fix the issue before proceeding. Every day without a working tag is data you will never recover.

The GA4 reports a small business owner actually uses

GA4 has dozens of reports. For a service business or local contractor, three matter most.

Acquisition (Reports > Life cycle > Acquisition > Traffic acquisition): shows your traffic by channel: Organic Search, Direct, Referral, Organic Social, Paid Search. Use it to evaluate whether your SEO investment is producing visitors.

Engagement (Reports > Life cycle > Engagement > Pages and screens): shows which pages receive the most traffic and hold attention. A service page with low engagement needs work.

Conversions (Reports > Life cycle > Engagement > Conversions): shows how many times each goal was completed and which channels drove those completions. This report connects your site to business revenue.

Setting up your first conversion events

GA4 automatically tracks page views, scrolls, outbound clicks, and video engagement. It does not automatically track contact form submissions, phone number clicks, or quote request completions.

To mark an event as a conversion, go to Admin > Events and toggle on Mark as conversion next to any event name. Trigger the event first (submit the form, click the phone number) so GA4 sees it.

For form submissions and button clicks, use Google Tag Manager: set up a trigger that fires on the action, send a custom event to GA4 (such as form_submission), then mark it as a conversion.

Sites built with conversion tracking from day one, like Detail Exchange and Costa Custom Pools, produce lead data immediately rather than months after launch.

What to check in the first 30 days

The goal of the first month is not to optimize. It is to establish a baseline.

  • Week 1: Verify data is flowing. Realtime shows active users.
  • Week 2: Check Traffic Acquisition. Note which channels are sending visitors.
  • Week 3: Review Pages and Screens. Identify top entry pages and whether bounce rates are concerning.
  • Week 4: Confirm conversion events are tracking. If a form submission does not appear in Conversions, something is broken.

At 30 days you have a real picture: where traffic comes from, what it does, and whether it converts.

If analytics setup is part of a broader site launch, the Building Your First Business Website series covers this in context. Part 2 of this series walks through reading user behavior reports so the numbers translate into real decisions. When you are ready to connect those reports to revenue, Part 3 covers conversion tracking in depth.

Every site built through our web design service includes analytics installed, verified, and connected to at least one conversion event before handoff. Get in touch to talk through your project.


Frequently asked questions

Is Google Analytics 4 free to use?

Yes. Google Analytics 4 is free. The standard product costs nothing to use regardless of how much traffic your site receives. Google offers a paid tier called GA 360, but the free version covers everything a small or mid-size business needs.

How do I add Google Analytics to my website without a developer?

The simplest no-developer path is Google Tag Manager. You install one Tag Manager snippet on your site (most platforms let you paste it into a header field), then add your GA4 Measurement ID as a tag inside Tag Manager. No code editing required after the initial snippet install. WordPress users can also use a plugin such as Site Kit by Google.

How long does it take for Google Analytics to show data?

Real-time data appears within seconds of adding the tracking tag. The standard reports (Acquisition, Engagement, Conversions) begin populating within 24 to 48 hours. Historical data before installation is not recoverable, so set up GA4 as soon as your site goes live.

What are the most important GA4 reports for a small business?

Focus on three reports first: Acquisition (where visitors come from), Engagement (which pages hold attention and which lose it), and Conversions (who completes a goal like a form submission or phone click). These three answer the questions that drive real decisions: what channels to invest in, what to fix on the site, and whether the site is producing leads.

Share this postTwitter / XLinkedInBluesky
Fredy Rodriguez
Fredy Rodriguez

Technical Director & Co-Founder

Runs the data-and-code side of Desque: SEO, GEO, AEO, PPC, copywriting, and the engineering behind every site we ship. Builds in Go and TypeScript.

Continue in series: Web Analytics Fundamentals