Back to overview
analytics
8 min read

Google Analytics 4 Setup: Step-by-Step Guide

Setting up GA4 correctly is the foundation of every data-driven marketing strategy. Follow this beginner-friendly guide to configure GA4 step by step.

Axel Saerens
Axel Saerens
March 8, 2026
Share this article:
Google Analytics 4 step-by-step setup guide

Google Analytics 4 (GA4) is the successor to Universal Analytics and works fundamentally differently. Where Universal Analytics revolved around sessions and pageviews, GA4 focuses on events and users. This might sound technical, but it offers enormous advantages, especially when you set it up correctly.

In this guide, we walk you through the complete GA4 installation process step by step. From creating your property to configuring conversions and linking to Google Ads.

Why GA4?

Before we begin, a brief overview of why GA4 is so important:

  • GA4 is built privacy-first. It works with fewer cookies and has built-in consent mode support.
  • It enables cross-platform tracking so you can track users across your website and app.
  • The event-based model treats every interaction as an event, which is much more flexible.
  • Built-in machine learning provides predictive audiences and insights without additional configuration.
  • The free BigQuery integration lets you export raw data for advanced analyses.
Step-by-step GA4 setup via Google Tag Manager in 4 steps
Setting up GA4 via GTM in 4 steps: create property, configure GTM, set up tag and publish

Step 1: Create a GA4 Property

Go to Google Analytics

  1. Go to analytics.google.com
  2. Log in with your Google account (preferably use the account that also has access to Google Ads and Search Console)
  3. Click on Admin (the gear icon in the bottom left)

Create a New Property

  1. Click on Create Property
  2. Enter the property name (for example "Company Name - Website")
  3. Select your time zone (for Belgium: Brussels, GMT+1)
  4. Select your currency (EUR)
  5. Click on Next

Business Information

  1. Select your industry (choose the most relevant category)
  2. Select your company size
  3. Click on Next

Objectives

Select the goals that best suit your needs:

  • Generate leads
  • Drive online sales
  • Increase brand awareness
  • Analyze user behavior

This affects which default reports GA4 sets up for you.

Step 2: Create a Data Stream

A Data Stream is the connection between your website (or app) and GA4.

  1. Choose Web as the platform
  2. Enter your website URL (without https://)
  3. Give your stream a name (for example "Website - Production")
  4. Leave Enhanced Measurement enabled

Enhanced Measurement

This is one of GA4's major advantages. Without any additional code, GA4 automatically measures:

  • Every page view
  • Scrolls when someone reaches 90% of the page
  • Outbound clicks to external websites
  • Site search queries on your website
  • Video engagement with embedded YouTube videos
  • File downloads of PDFs, documents, etc.
  • Form interactions with forms on your site

You can toggle these events individually on or off via the gear icon next to Enhanced Measurement.

Step 3: Install the Tracking Code

Now you need to place the GA4 code on your website. There are two methods, and we strongly recommend the second one.

Method 1: Directly via gtag.js

Google provides you with a piece of JavaScript code (the Google tag) that you need to place in the <head> of every page. This works but is limited in terms of flexibility.

Method 2: Via Google Tag Manager (Recommended)

Google Tag Manager (GTM) is a free tool that lets you manage tracking codes without having to modify your website code every time.

Why GTM is the better choice:

  • You can add and modify tags without a developer
  • You can track custom events without code
  • You have a preview mode for testing
  • You keep all tracking in one place

Installing GTM:

  1. Go to tagmanager.google.com
  2. Create an account and container
  3. Place the two GTM snippets on your website (one in the <head>, one after the <body> opening)

Adding GA4 Tag in GTM:

  1. Create a new Tag in GTM
  2. Choose Google Analytics: GA4 Configuration (or Google Tag in the latest version)
  3. Enter your Measurement ID (starts with G-, found in your GA4 data stream)
  4. Set the trigger to All Pages
  5. Save and publish your container
Data stream sending events from website to GA4 property
GA4 collects events like page views, clicks, scrolls and purchases via your data stream

Step 4: Set Up Custom Events

Enhanced Measurement covers the basics, but for your business you'll likely want to track more specific actions.

Examples of Custom Events

  • Form submitted: contact_form_submit
  • Quote requested: quote_request
  • Phone number clicked: phone_click
  • WhatsApp message sent: whatsapp_click
  • Product added to cart: add_to_cart
  • Checkout started: begin_checkout
  • Purchase completed: purchase

Creating Events via GTM

  1. Create a new Tag: GA4 Event
  2. Link it to your GA4 Configuration tag
  3. Give the event a name (use snake_case, for example: contact_form_submit)
  4. Optionally add event parameters (such as form_type, product_name)
  5. Set the correct trigger (for example: form submission, click on a specific element)
  6. Test via GTM's Preview mode
  7. Publish when everything works

Naming Conventions for Events

Stick to these rules for consistent data:

  • Use snake_case: contact_form_submit, not ContactFormSubmit
  • Be descriptive: purchase is better than event1
  • Use Google's recommended events where possible (purchase, add_to_cart, sign_up, etc.)
  • Maximum 40 characters per event name

Step 5: Configure Conversions

Not every event is a conversion. In GA4, you mark specific events as conversions.

How Do You Mark an Event as a Conversion?

  1. Go to AdminEvents (or Conversions in some views)
  2. You'll see a list of all events GA4 has received
  3. Toggle the Mark as conversion switch for the relevant events

Which Events Should You Mark as Conversions?

Focus on macro conversions, the actions that directly contribute to your business goal:

  • Contact form submitted
  • Quote requested
  • Purchase completed
  • Appointment scheduled

Micro conversions (such as a PDF download or video viewed) can also be tracked, but don't mark them as primary conversions. That clouds your data.

Assigning Conversion Values

For e-commerce, your website automatically sends the transaction value. For lead generation, you can assign an estimated value to each conversion. This helps later when calculating your ROAS in Google Ads.

Step 6: Link Google Ads

The connection between GA4 and Google Ads is essential if you're advertising.

Why Link?

  • You can import conversions and use GA4 conversions as goals in your Google Ads campaigns
  • You can share audiences by creating them in GA4 and using them for remarketing in Google Ads
  • You can view campaign performance data directly in GA4

How Do You Link GA4 to Google Ads?

  1. Go to AdminProduct LinksGoogle Ads Links
  2. Click on Link
  3. Select your Google Ads account
  4. Enable Personalized Advertising (for remarketing)
  5. Enable Auto-tagging
  6. Click on Submit

Import Conversions in Google Ads

  1. Go to your Google Ads account
  2. Navigate to GoalsConversionsSummary
  3. Click on New conversion actionImport
  4. Select Google Analytics 4 properties
  5. Choose the conversions you want to import
  6. Set the attribution model (data-driven is the default and recommended)

Step 7: Understanding Basic Reports

GA4 has a different reporting structure than Universal Analytics. Here are the key reports:

Realtime Report

See what's happening on your website right now. Perfect for checking whether your tracking works correctly after installation.

Acquisition Report

Where do your visitors come from?

  • User acquisition shows the first visit of a user
  • Traffic acquisition shows data per session, including returning visitors

Engagement Report

How do visitors interact with your website?

  • Events shows all tracked events
  • Conversions shows only the events you've marked as conversions
  • Pages and screens shows which pages are viewed most

Monetization Report

For e-commerce: revenue, transactions, products, and more.

Retention Report

Do visitors return? How loyal is your audience?

Common Mistakes in GA4 Setup

Mistake 1: Double Tracking

If you have both the gtag.js code and a GTM tag running, you're counting everything double. Choose one method.

Mistake 2: Not Checking Enhanced Measurement

The default settings aren't always perfect for your situation. Check whether site search uses the correct parameter and whether form interactions work correctly.

Mistake 3: Not Setting Up Filters

Filter out internal traffic (your own IP addresses) and developer/staging traffic from your data. You do this via AdminData StreamsConfigure Tag SettingsDefine Internal Traffic.

Mistake 4: Not Adjusting Data Retention

By default, GA4 retains user data for only 2 months. Increase this to 14 months via AdminData SettingsData Retention.

Mistake 5: Ignoring Consent Mode

In Belgium (and all of Europe), you're required to ask for consent before tracking. Implement a Consent Management Platform (CMP) and configure Google Consent Mode v2. Without this, you're missing data and risking fines under GDPR.

Next Steps

A correctly configured GA4 account is the foundation, but the real work begins after that. Think about:

  • Custom dimensions and metrics for your specific KPIs
  • Explorations for advanced analyses
  • Lookalike audiences for your Google Ads campaigns
  • Predictive audiences based on GA4's machine learning

Need help setting up or optimizing your GA4? At Saerens Advertising, we help businesses with a professional analytics setup that truly delivers insights. Request a free audit and we'll review together whether your data foundation is in order.

Axel Saerens

Written by

Axel Saerens

Google Ads specialist and founder of Saerens Advertising. Helping e-commerce and lead generation businesses grow with data-driven campaigns.

Need help with your marketing?

Request a free audit today and discover where you're missing opportunities.

Request Free Audit