What Is GA4? How to Set Up Google Analytics 4 Step by Step (2026)

How-to-Set-Up-Google-Analytics-4

Quick answer: GA4 (Google Analytics 4) is Google’s free website and app analytics platform. It tracks everything as events, so you can see how people find your site, what they do, and which actions lead to leads or sales. To set it up: create a GA4 property, add a web data stream, install the tag (directly or through Google Tag Manager), turn on Enhanced Measurement, mark your key events, extend data retention, and link Google Ads and Search Console. Basic setup takes under an hour.

What is GA4?

GA4 is the current version of Google Analytics, which replaced Universal Analytics. It measures website and app activity using an event-based model: every interaction, a page view, a scroll, a click, a form submission, a purchase, is recorded as an event.

That makes GA4 more flexible than the old session-based model. Instead of only knowing how many pages someone viewed, you can track the specific actions that matter to your business.

Key GA4 terms, in plain English

Term

What it means

Property

Your GA4 account space for one website or business

Data stream

A source of data flowing into the property (a website or an app)

Measurement ID

Your tag’s identifier, starting with “G-”

Event

Any interaction GA4 records

Key event

An event you mark as important, like a form submission or purchase

Conversion

In Google Ads, a key event imported for ad measurement and bidding

Enhanced Measurement

Automatic tracking of common events without extra code

Key events vs conversions: in GA4, you mark important actions as key events. When you import those into Google Ads, they become conversions. The flow is: event, then key event in GA4, then conversion in Google Ads.

How to set up GA4: step by step

Step 1: Create a GA4 property

  1. Go to Google Analytics and open Admin (the gear icon at the bottom left).
  2. Click Create, then Property.
  3. Enter the property name, reporting time zone (Malaysia, GMT+8), and currency (MYR).
  4. Choose your business category, size, and objectives.

Get the time zone and currency right now. Changing the time zone later does not apply to past data.

Step 2: Set up a web data stream

  1. Choose Web as the platform.
  2. Enter your website URL and a stream name.
  3. Create the stream. You will see your Measurement ID (starting with “G-”). Copy it.

Step 3: Install the GA4 tag

You have two main options.

Option A: Google Tag Manager (recommended) 1. In Google Tag Manager, create a new tag using the Google tag type. 2. Paste your Measurement ID. 3. Set the trigger to All Pages (Initialization or Page View). 4. Save and publish.

GTM makes it much easier to add events, marketing pixels, and consent settings later without editing your website code.

Option B: Direct install or plugin Paste the Google tag code into your site’s header, or use your platform’s integration. WordPress sites commonly use Google’s Site Kit plugin; Shopify has a built-in Google integration.

Step 4: Turn on Enhanced Measurement

In your web data stream settings, confirm Enhanced Measurement is on. It automatically tracks page views, scrolls, outbound clicks, site search, video engagement, file downloads, and some form interactions, without extra code.

Step 5: Track and mark key events

Decide which actions matter for your business, then make sure they are tracked and marked as key events: – Contact or quote form submissions – WhatsApp or phone button clicks – Booking completions – Purchases (ecommerce) – Sign-ups

Some are tracked automatically; others, like WhatsApp clicks, usually need a custom event set up in Google Tag Manager. Once the event appears in GA4, mark it as a key event under Admin, Events.

Step 6: Extend data retention

By default, GA4 keeps detailed user and event data for only 2 months. Go to Admin, Data collection and modification, Data retention and change it to 14 months (the maximum for standard properties). This does not affect standard aggregated reports, but it matters for detailed analysis.

Step 7: Filter out internal traffic

Define your office IP addresses as internal traffic so your own team’s visits do not distort the data. Set the filter to Testing first, check it, then activate it.

Step 8: Link Google Ads and Search Console

  • Google Ads: link under Admin so you can import key events as conversions and build remarketing audiences.
  • Search Console: link to see which search queries and landing pages bring organic traffic.

Step 9: Set up consent

If you use cookies for analytics and advertising, add a consent banner and configure Consent Mode so tags respect visitors’ choices. This matters for privacy compliance and for keeping your measurement reliable. See making your website PDPA compliant.

Step 10: Verify it works

  • Use Google Tag Manager Preview mode or the Tag Assistant extension to confirm the tag fires.
  • Open Reports, Realtime in GA4 and visit your site. You should see yourself appear within seconds.
  • Test a form submission or button click and confirm the event shows up.

GA4 setup checklist

  • Property created with Malaysia time zone and MYR currency
  • Web data stream created
  • Tag installed (GTM or direct) and firing on all pages
  • Enhanced Measurement on
  • Key events tracked and marked (forms, WhatsApp, calls, purchases)
  • Data retention set to 14 months
  • Internal traffic filtered
  • Google Ads linked and conversions imported
  • Search Console linked
  • Consent banner and Consent Mode configured
  • Verified in Realtime and Preview mode

The GA4 reports worth checking first

  • Acquisition, Traffic acquisition: which channels bring visitors (organic, paid, social, referral).
  • Engagement, Pages and screens: which pages get attention.
  • Engagement, Events: which actions people take.
  • Key events: how many leads or sales you are getting, and from where.
  • Explore: custom funnel and path analysis for deeper questions.

Common GA4 setup mistakes

  • Wrong time zone or currency at property creation.
  • Leaving data retention at 2 months.
  • Not tracking WhatsApp and call clicks, which are often the main lead actions for Malaysian businesses.
  • Installing the tag twice (plugin plus manual code), which doubles page views.
  • Not filtering internal traffic.
  • Never marking key events, so GA4 shows traffic but not results.

Frequently asked questions

What is GA4?

Google Analytics 4, Google’s free analytics platform for websites and apps. It tracks interactions as events so you can measure how people find and use your site, and which actions lead to leads or sales.

How do I set up GA4?

Create a property, add a web data stream, install the tag through Google Tag Manager or directly, turn on Enhanced Measurement, mark key events, extend data retention, filter internal traffic, link Google Ads and Search Console, set up consent, and verify in Realtime.

Is GA4 free?

Yes. The standard version of Google Analytics 4 is free. Google Analytics 360 is the paid enterprise version.

What is the difference between a key event and a conversion?

A key event is an important action you mark in GA4. A conversion is that key event imported into Google Ads for ad measurement and bidding.

Do I need Google Tag Manager to use GA4?

No, but it is recommended. It makes adding events, marketing pixels, and consent settings much easier without editing site code.

How long does GA4 take to show data?

Realtime data appears within seconds. Standard reports can take 24 to 48 hours to fully process.

How do I track WhatsApp clicks in GA4?

Create a trigger in Google Tag Manager for clicks on WhatsApp links, send it as a custom event to GA4, then mark it as a key event.

The bottom line

GA4 is free and powerful, but only if it is set up properly. The basics take under an hour: property, data stream, tag, Enhanced Measurement, and verification. The steps most businesses skip, marking key events, extending data retention, tracking WhatsApp and call clicks, and linking Google Ads, are the ones that turn GA4 from a traffic counter into a tool that shows where your customers come from.

Want GA4 set up so you can see which marketing actually brings customers? Talk to MediaPlus Digital about SEO services and tracking, and claim a free RM300 consultation.

Share it :

Is Your Brand Invisible to AI? Find Out Now.

Grab your free AI Visibility Audit to see if AI engines are recommending your services. 100% free, zero obligations.