Skip to content

How to set up Google Analytics 4 (GA4): a step-by-step guide

Written on 8/6/2025 | Modified on 26/3/2026 | 6 min | Ezekiel Adewumi Ezekiel Adewumi
How to set up Google Analytics 4 (GA4): a step-by-step guide
Table of contents
  1. Step 1: Create your GA4 account and property
  2. Step 2: Set up your data stream
  3. Step 3: Install the tracking code
  4. Step 4: Set up conversion events
  5. Step 5: Connect Google Search Console
  6. The 5 GA4 reports you should check weekly
  7. Common GA4 setup mistakes
  8. Your next step
Key points
  • A data stream tells GA4 where to collect data from.
  • How you install GA4 depends on your platform:
  • GA4 tracks everything as "events." You need to tell it which events count as conversions — the actions that actually matter to your business.
  • Linking Search Console to GA4 shows you which Google searches drive traffic to your site — directly within your GA4 reports.
  • GA4 has dozens of reports.

Google Analytics 4 (GA4) replaced Universal Analytics in July 2023. If you’re setting up analytics for the first time — or still using an old Universal Analytics setup — this guide walks through everything from account creation to the reports you should check weekly. The whole process takes under 30 minutes.

Step 1: Create your GA4 account and property

  1. Go to analytics.google.com and sign in with your Google account
  2. Click Admin (gear icon, bottom left)
  3. Click CreateAccount
  4. Name your account (your business name) and configure data sharing settings
  5. Click Next → name your property (your website name)
  6. Set your reporting time zone and currency (use Gulf Standard Time (GMT+4) and AED for UAE businesses)
  7. Select your industry category and business size
  8. Click Create

Step 2: Set up your data stream

A data stream tells GA4 where to collect data from. For a website:

  1. In your new property, select Web as the platform
  2. Enter your website URL and a stream name (e.g., “Main Website”)
  3. Enable Enhanced Measurement — this automatically tracks page views, scrolls, outbound clicks, site search, video engagement, and file downloads without any extra code
  4. Click Create stream
  5. Copy your Measurement ID (starts with G-) — you’ll need this next

Step 3: Install the tracking code

How you install GA4 depends on your platform:

For Webflow

  1. Go to Project SettingsCustom Code
  2. Paste the Google tag (gtag.js) script in the Head Code section
  3. Publish your site

For WordPress

  1. Install a plugin like Site Kit by Google (official) or GA4 for WordPress
  2. Connect your Google account and select your GA4 property
  3. The plugin handles the code injection automatically

For Shopify

  1. Go to Online StorePreferences
  2. Paste your Measurement ID in the Google Analytics field
  3. Alternatively, use the Google & YouTube sales channel for deeper integration

For custom-built sites

Add the Google tag directly to the <head> section of every page:

<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.

Verify installation

Go to ReportsRealtime in GA4. Open your website in another tab. You should see your visit appear within seconds. If nothing appears after 2 minutes, check that the code is in the <head> section (not <body>) and that no ad blocker is interfering.

Step 4: Set up conversion events

GA4 tracks everything as “events.” You need to tell it which events count as conversions — the actions that actually matter to your business.

Essential conversions to track:

ConversionHow to set up
Contact form submissionCreate a custom event triggered on form submission (thank-you page view or form event)
Phone call clickTrack clicks on tel: links — Enhanced Measurement handles this automatically
WhatsApp clickTrack clicks on WhatsApp links (wa.me/) as a custom event
PurchaseFor e-commerce, use the GA4 e-commerce events (purchase, add_to_cart, etc.)
Newsletter signupTrack the confirmation page view or form submission event

How to mark an event as a conversion:

  1. Go to AdminEvents
  2. Find the event (or create it)
  3. Toggle the Mark as key event switch

Without conversion tracking, GA4 only tells you how many people visited — not how many took action. This is the single most important setup step.

Step 5: Connect Google Search Console

Linking Search Console to GA4 shows you which Google searches drive traffic to your site — directly within your GA4 reports.

  1. In GA4, go to AdminProduct LinksSearch Console Links
  2. Click Link and select your verified Search Console property
  3. Once connected, you’ll see organic search data in ReportsAcquisitionGoogle Organic Search Traffic

This is essential for tracking your SEO performance — you can see which keywords drive traffic, which pages rank, and how click-through rates change over time.

The 5 GA4 reports you should check weekly

GA4 has dozens of reports. These 5 give you 80% of the insight you need:

1. Traffic acquisition (Reports → Acquisition → Traffic Acquisition)

What it shows: Where your visitors come from — organic search, paid ads, social, direct, referral. What to look for: Is organic traffic growing month over month? Which channels convert best?

2. Landing pages (Reports → Engagement → Landing Page)

What it shows: Which pages visitors arrive on first. What to look for: Your homepage shouldn’t be the #1 landing page for a content-driven site. If blog posts and service pages aren’t appearing, your SEO isn’t working.

3. Conversions (Reports → Engagement → Conversions)

What it shows: How many conversion events happened and from which traffic sources. What to look for: Are form submissions, calls, and WhatsApp clicks trending up? Which traffic source drives the most conversions (not just the most traffic)?

4. Pages and screens (Reports → Engagement → Pages and Screens)

What it shows: Which pages get the most views and engagement. What to look for: High-traffic pages with low engagement time may have content that doesn’t match what visitors expected. Pages with high engagement but low traffic are candidates for more promotion or internal linking.

5. Realtime (Reports → Realtime)

What it shows: What’s happening on your site right now. What to look for: Useful for verifying that tracking works, checking campaign launches, and monitoring traffic spikes during promotions.

Common GA4 setup mistakes

  1. Not marking conversions. GA4 tracks page views by default but doesn’t know which actions matter to your business until you tell it. Set up conversion events in the first week.
  2. Forgetting to exclude internal traffic. Your team browsing the site inflates data. Go to Admin → Data Streams → your stream → Configure Tag Settings → Define Internal Traffic, and filter your office IP.
  3. Ignoring cross-domain tracking. If you have multiple domains (e.g., main site + shop on a subdomain), configure cross-domain tracking so GA4 doesn’t treat visitors moving between them as separate sessions.
  4. Not connecting Search Console. Without this, you can’t see which organic keywords drive your traffic — which makes SEO decisions impossible to make from data.

Your next step

  1. Verify your GA4 is working. Open your site, then check Realtime in GA4. If you don’t see your visit, the tracking code isn’t installed correctly.
  2. Set up at least 3 conversion events. Form submission, phone call click, and WhatsApp click cover most UAE service businesses.
  3. Schedule a weekly check. Every Monday morning, spend 10 minutes in GA4 reviewing the 5 reports above. Consistent monitoring catches problems early and reveals opportunities.

For help setting up analytics and conversion tracking for your website, talk to our team.

Share
Need help growing your brand?

Get a free strategy session with our team.

Contact Us
Related

More articles
to explore

Certified Partner