top of page
Step-by-step setup of Google Analytics 4 GA4 property dashboard for website tracking

Google Analytics 4, GA4 Setup, GA4 Tracking

How to Set Up Google Analytics 4 (GA4) Step-by-Step

GA4 is Google’s modern analytics platform for tracking users, events, and conversions across devices. This step-by-step guide shows how to set up GA4 properly for smarter marketing and accurate reporting.

4 Feb 2026

7 Mins Read

Step-by-step setup of Google Analytics 4 GA4 property dashboard for website tracking

Google Analytics 4 (GA4) is Google’s modern, event-based analytics platform designed for privacy-first, cross-device tracking. Setting it up correctly is critical if you want reliable data for SEO, Google Ads, e-commerce, and performance marketing in 2026.


A basic installation is not enough. To get real value from GA4, you need proper property creation, event tracking, conversions, integrations, and testing. This step-by-step guide walks you through how to set up Google Analytics 4 the right way.


Why Proper GA4 Setup Matters

Before jumping into the steps, it’s important to understand why setup quality matters:

  • Accurate data collection – A clean GA4 implementation ensures every user action, like clicks, scrolls, forms, and purchases, is captured correctly instead of being missed or duplicated.

  • Better conversion tracking – When conversions are configured properly, you can connect traffic sources with real business results like leads and sales.

  • Smarter marketing optimization – GA4 data feeds SEO, Google Ads, CRO, and remarketing, so a bad setup leads to poor decisions.

  • Privacy and compliance – GA4 setup includes consent and retention settings that keep your analytics compliant with modern privacy laws.

A strong foundation prevents reporting issues later.


Step 1: Create a GA4 Property

If you don’t already have GA4:

  1. Log in to Google Analytics.

  2. Click Admin (bottom left).

  3. Select Create Property.

  4. Enter your account name, property name, timezone, and currency.

  5. Choose your business details and objectives.

This creates your GA4 environment where all tracking data will live.

If you already have one, review the property settings to ensure they match your business location and currency.


Step 2: Set Up a Data Stream

A data stream connects GA4 to your website or app.

  1. Go to Admin → Data Streams.

  2. Click Web (for websites).

  3. Enter your website URL and stream name.

  4. Enable Enhanced Measurement.

  5. Click Create Stream.

Enhanced Measurement automatically tracks page views, scrolls, outbound clicks, file downloads, video engagement, and site search without extra coding.

This is the core connection between your site and GA4.


Step 3: Install the GA4 Tracking Code

Now you need to install GA4 on your website.

You can do this in two main ways:


Option A: Direct Install
  • Copy the Measurement ID from your data stream.

  • Paste the GA4 script into the <head> section of your website.

  • Publish changes.

This works well for simple websites. However, it depends on the web publisher you are using,

  • Wordpress

  • Wix

  • Shopify

  • Server Hosted

  • AWS - Lightsail

  • AWS - Route 59

  • Custom Codes - contact your website developer or the person who manages your web server.


Option B: Using Google Tag Manager (Recommended)
  • Open Google Tag Manager

  • Create a New Tag → GA4 Configuration.

  • Paste your Measurement ID.

  • Set the trigger to All Pages.

  • Publish the container.

Using GTM gives you the flexibility to add events and conversions later without editing code again.


Step 4: Verify Tracking with DebugView

After installation, you must verify data collection.

  • Go to GA4 → Configure → DebugView.

  • Open your website in another tab.

  • Click, scroll, and navigate pages.

  • Watch events appear live.

DebugView confirms your GA4 setup is working before you rely on the data for decisions.


GA4 Setup - Debug View

















Step 5: Configure Events

GA4 tracks default events, but custom ones unlock real insights.

Important events to configure:

  • Form submissions – Track contact, demo, and signup forms to measure leads.

  • Button clicks – Capture CTA interactions to see what drives action.

  • Scroll depth – Go beyond default scroll to track meaningful content engagement.

  • Phone clicks – Track tap-to-call actions for service businesses.

  • Video engagement – Measure play and completion rates for media content.

These are usually set up using Google Tag Manager for precision and scalability.


GA4 - Configure Events

















Step 6: Mark Key Events as Conversions

Without conversions, GA4 is just traffic reporting.

To set conversions:

  1. Go to Configure → Events.

  2. Find your important events (form_submit, purchase, generate_lead).

  3. Toggle Mark as Conversion.

Conversions tell GA4 what success looks like — whether it’s a lead, sale, signup, or checkout completion.

This step is essential for performance marketing and ROI tracking.




Step 7: Set Up E-commerce Tracking (If Applicable)

If you run e-commerce or quick commerce:

  • Track product views to see interest levels.

  • Track add-to-cart actions to measure buying intent.

  • Track checkout steps to identify friction points.

  • Track purchase events to record revenue.

  • Track refunds to maintain accurate financial reporting.

GA4 ecommerce tracking gives visibility into revenue, not just visitors.


Step 8: Link GA4 with Google Ads

GA4 becomes powerful when connected to paid marketing.

To link:

  1. Go to Admin → Product Links → Google Ads Links.

  2. Select your Google Ads account.

  3. Enable personalized advertising and auto-tagging.

  4. Import GA4 conversions into Google Ads.

This allows smarter bidding, remarketing, and ROAS measurement.


GA4 Setup - Products Linking













Step 9: Configure Audiences

Audiences help you segment and retarget users.

Useful audience types:

  • All users – For general remarketing.

  • Engaged users – Visitors who interact deeply with content.

  • Cart abandoners – Users who added products but didn’t purchase.

  • High-intent users – Visitors with high conversion probability.

Audiences power Google Ads, email automation, and CRO strategies.


GA4 Setup - Configure Audiences


















Step 10: Adjust Privacy & Data Settings

Modern analytics requires privacy controls.

Key settings to review:

  • Consent Mode – Respect user privacy choices while modeling data.

  • Data retention – Choose how long GA4 stores user data.

  • Internal traffic filters – Exclude your team’s visits for clean reports.

  • Cross-domain tracking – Track users across multiple domains properly.

These settings protect data quality and compliance.


Step 11: Build Custom Reports & Funnels

Default reports are useful, but custom analysis gives a competitive advantage.

Use GA4 Explore to create:

  • Lead funnels – From landing page to form submission.

  • Checkout funnels – From product view to purchase.

  • Path analysis – Visualize user journeys.

  • Cohort reports – Measure retention and repeat behavior.

This is where GA4 becomes a growth tool, not just a tracker.


Common GA4 Setup Mistakes to Avoid

  • Not testing setup with DebugView – Leads to blind reporting.

  • Missing conversion setup – Prevents ROI measurement.

  • Ignoring ecommerce schema – Breaks revenue tracking.

  • No Google Ads integration – Limits performance optimization.

  • Relying only on defaults – Misses deeper behavioral insights.

Avoiding these mistakes ensures long-term tracking success.


Setting up Google Analytics 4 correctly is the foundation of smarter marketing in 2026. From property creation and event tracking to conversions, ecommerce, and Google Ads integration, GA4 transforms raw traffic into meaningful business intelligence.

When GA4 is configured properly, SEO, PPC, ecommerce, and CRO teams can optimize with confidence instead of assumptions.


More References:

> Set up Analytics for a website and/or app



.


Google Ads, SEO Strategy, PPC vs SEO

Google Ads vs SEO: Which Is Better?

Google Ads, Types of Campaigns

Types of Google Ads Campaigns

Google Ads, Beginner's Guide

What Is Google Ads? A Complete Beginner’s Guide

Google Ads, Beginner's Guide, Paid Search

Google Ads for Beginners: Complete Guide for 2026

Quick Links

> Link 1

> Link 1

> Link 1

> Link 1

Abstract Geometric Shapes

Need help setting up GA4 the right way?

Partner with The Show Media for GA4 implementation, event tracking, audits, and performance marketing optimization.

Services

  • Google Ads

  • Ads Creatives

  • E-commerce Account Management

  • Quick-Commerce Account Management

Resources

bottom of page