949.629.7364
info@launchcodexagency.com

Google Analytics 4 (GA4): The ultimate guide

Last Date Updated:
March 3, 2026
Time to read clock
16 minute read
Google Analytics 4 is Google's current analytics platform, built on an event-based data model that tracks users across web and app. Configured correctly, it gives marketing and growth teams clean, predictive, and privacy-compliant data that connects directly to revenue decisions. This guide covers setup, tracking, compliance, AI features, and the BigQuery integration.
Google Analytics 4 GA4
Table of Contents
Primary Item (H2)
Build-operate-transferCo-buildJoint ventureVenture sprint
Ready for a free checkup?
Get a free business audit with actionable takeaways.
Start my free audit
Key takeaways (TL;DR)
GA4's default settings leave your data incomplete. Change data retention to 14 months and verify event tracking before you trust any report.
Consent Mode V2 became mandatory for EEA businesses in March 2024. Without it, Google Ads audience building stops working.
BigQuery export is now free for all GA4 users. Combined with Looker Studio, it gives any business access to enterprise-grade analytics at no extra cost.

Most businesses are running GA4 whether they choose to or not. Universal Analytics stopped processing data on July 1, 2023, and the cutoff for GA360 followed a year later. The migration happened. What did not follow for most teams was a clear understanding of what GA4 actually does differently and how to make it work for their specific goals.

This guide covers everything a marketer, founder, or growth lead needs to know about GA4. You will learn how the data model works, how to set it up without the common mistakes that corrupt reporting, how to stay compliant under GDPR, and how to use GA4's AI features to make faster decisions.

What is GA4 and why it replaced Universal Analytics

GA4 is Google's current analytics platform, launched in October 2020 to replace Universal Analytics. It tracks users across websites and mobile apps inside a single property, uses machine learning to fill data gaps left by cookie restrictions, and connects directly to Google Ads for audience targeting. As of early 2025, it is installed on more than 14.2 million websites globally.

Google did not simply update Universal Analytics. It rebuilt the measurement system from scratch. The core reason was a shift in how the web works: more users crossing between devices, more browsers blocking third-party cookies, and stronger privacy regulations demanding a different approach to data collection.

GA4 vs Universal Analytics comparison

Universal Analytics was designed when most users visited sites on a single device, cookies were reliable, and GDPR did not exist. GA4 was designed for the opposite reality.

What changed between Universal Analytics and GA4

FeatureUniversal AnalyticsGA4
Data modelSession and hit-basedEvent based
App trackingSeparate Firebase propertyUnified with web
Bounce rateCore metricReplaced by engagement rate
Data retentionUp to 50 monthsUp to 14 months (interface)
Predictive metricsNot availableBuilt in
BigQuery exportGA360 paid onlyFree for all properties
Privacy and consentLimited native supportConsent Mode V2 built in
Cross-device trackingLimitedUnified user journey

Google Analytics is used by 55.49% of all websites globally, representing approximately 37.9 million sites. Yet in 2023, only 23% of marketers had fully adopted GA4, with 50% still learning the platform and 16% having set it up without actually using it, according to data from Amra and Elma.

That gap between installation and real use is exactly where businesses lose the most value.

How GA4's event-based data model works

In GA4, every user interaction is an event. A page view is an event. A button click is an event. A video play, a scroll, a purchase, and a form submission are all events. This replaces the session-hit model Universal Analytics used, where pageviews and interactions were categorized as different hit types. The event model gives you more flexibility and precision, but it also requires a different approach to setup and measurement.

If you do not understand how events work, your setup will be incomplete, your reports will mislead you, and your conversion tracking will not reflect what actually matters to the business.

The four types of GA4 events

GA4 events fall into four categories, each requiring a different level of setup.

  1. Automatically collected events. These fire without any configuration. They include session starts, first visits, and page views.
  2. Enhanced Measurement events. These are available by default but need to be enabled in your data stream settings. They cover scroll depth, outbound link clicks, site search, video engagement, and file downloads. Turn them on.
  3. Recommended events. These are standard event names Google defines for specific industries such as e-commerce, gaming, and travel. Using these names connects your data to GA4's built-in reports and benchmarks.
  4. Custom events. These are events you define yourself using Google Tag Manager or custom code. Use these for business-specific actions like form submissions, demo requests, or phone number clicks that GA4 does not track by default.

As Americaneagle.com notes, Enhanced Measurement handles a range of common interactions automatically, but custom events are required for any business-specific action that matters to your funnel.

Key events vs regular events

Any event in GA4 can be marked as a key event. This is what Universal Analytics called a goal. When you mark an event as a key event, it appears in conversion reports and can be imported into Google Ads as a conversion action.

The practical point: do not wait for a developer to build a special tracking tag to create a goal. If GA4 is already capturing the event, you can mark it as a key event in Admin settings within two minutes.

How to set up GA4 correctly

A correct GA4 setup requires more than installing the tag. Most businesses that install GA4 and do nothing else are collecting incomplete or unreliable data. The minimum viable setup includes the right property structure, a 14-month data retention setting, Enhanced Measurement enabled, key events marked, Google Ads linked, and DebugView used to verify every event before you publish.

Julius Fedorovicius, founder of Analytics Mania, puts it plainly: GA4 is not a plug-and-play tool. There is a lot to absorb to set it up properly.

"The number one issue we see in new GA4 properties is untouched default settings. Data retention at two months, no key events marked, and no DebugView validation. The tag fires, but the data is close to useless for business decisions."

Derick Do, Co-Founder & Chief Product Officer, Launchcodex

Step-by-step GA4 setup checklist

Follow these steps in order. Each one affects the quality of your data.

  1. Create a GA4 property in your Google Analytics account. Go to Admin, then click Create Property.
  2. Add a data stream. Select Web, then enter your website URL and a stream name.
  3. Install the GA4 tag. Use Google Tag Manager for the cleanest deployment. Create a Google Tag in GTM with your Measurement ID, set it to fire on All Pages, and publish.
  4. Change data retention to 14 months. Go to Admin, then Data Settings, then Data Retention. The default is two months. After the retention window closes, data in Exploration reports is permanently deleted. Change this on day one.
  5. Enable Enhanced Measurement. Inside your data stream settings, turn on scroll tracking, outbound clicks, site search, video engagement, and file downloads.
  6. Mark your key events. In Admin, go to Events and toggle on "Mark as key event" for any event that represents a business-critical action.
  7. Link Google Ads. Go to Admin, then Product Links, then Google Ads Links. This enables conversion import, audience sharing, and auto-tagging.
  8. Link Google Search Console. Go to Admin, then Product Links, then Search Console Links. This pulls organic search data into GA4 reports.
  9. Validate with DebugView. Enable GA4 debug mode using the Google Analytics Debugger Chrome extension. Open DebugView inside GA4 and confirm each event fires correctly before treating any data as reliable.
The GA4 setup checklist

Common setup mistakes that corrupt your data

  • Not changing data retention. Leaving retention at two months means you lose year-over-year data in your Exploration reports after 60 days.
  • Installing GA4 without removing old Universal Analytics tags. Double-firing tags inflate session counts and event totals.
  • Not using GTM. Direct script installs make future changes slower and more error-prone.
  • Skipping DebugView. Without validation, misconfigured events go undetected for weeks or months, corrupting every report they feed into.
  • Not marking key events. Data collects but conversion reports stay empty, giving the appearance that GA4 is not working.

GA4 event tracking and conversions in practice

GA4 can track any user interaction as a conversion, but only if the event is configured and marked correctly. The most common gap is form submissions. GA4 does not track form submissions automatically. You need either a GTM trigger that fires on form completion or a custom event sent from your website code. Without this, contact form leads, demo requests, and newsletter signups are invisible in your reports.

How to track form submissions in GA4

  1. Open Google Tag Manager.
  2. Create a new Trigger. Choose Form Submission as the trigger type.
  3. Set the trigger to fire on successful form submissions only. Use a "Form ID equals" or "Page URL contains thank-you" condition depending on how your site confirms submission.
  4. Create a new Tag. Choose Google Analytics: GA4 Event.
  5. Name the event using a clear, consistent naming convention such as generate_lead or form_submit_contact.
  6. Attach the trigger you created.
  7. Preview and validate in DebugView before publishing.

E-commerce tracking setup

For e-commerce, GA4 uses a set of recommended events to capture the full purchase funnel. These include view_item, add_to_cart, begin_checkout, and purchase. Each event carries parameters like item ID, item name, price, and quantity.

Most e-commerce platforms including Shopify, WooCommerce, and BigCommerce have native GA4 integrations or plugins that handle these events automatically. Verify that the purchase event includes the correct transaction_id and value parameters. Duplicate transaction IDs are one of the most common causes of inflated revenue figures in GA4.

The four types of GA4 events

GA4 privacy compliance, GDPR, and Consent Mode V2

GA4 is not GDPR compliant out of the box. Businesses collecting data from users in the European Economic Area must implement Google Consent Mode V2, which became mandatory in March 2024. Without it, GA4 continues to collect data but Google Ads loses the ability to build remarketing audiences, run conversion modeling, and use smart bidding signals. The result is lower ad performance and potential regulatory exposure.

Privacy and analytics expert Brian Clifton frames the core principle clearly: if a visitor explicitly states they do not want to be tracked and you ignore that request as the data processor, you have deliberately broken the rules of GDPR, as cited in the Piwik PRO blog.

What Consent Mode V2 actually does

Consent Mode V2 is an API framework that tells Google tags how to behave based on a user's cookie consent choice. When a user declines tracking, Consent Mode V2 does not stop firing tags entirely. Instead, it switches those tags to cookieless ping mode. Google then uses modeled data, based on anonymized aggregate behavior, to fill the measurement gaps.

Without Consent Mode V2:

  • GA4 still collects data from users who declined, creating legal risk.
  • Google Ads cannot build custom audiences from that traffic.
  • Smart bidding loses the conversion signals it relies on.
  • Your reported conversion rates become unreliable.

How to implement Consent Mode V2

  1. Choose a Consent Management Platform certified for Google Consent Mode V2. Examples include Cookiebot, OneTrust, and Complianz.
  2. Install the CMP on your site, either directly or through Google Tag Manager.
  3. Configure the CMP to send the correct consent signals to GA4 and Google Ads tags.
  4. Test the implementation using the TermsFeed GDPR compliance guidance and Google's Consent Mode verification tool inside Tag Manager.

Businesses selling to California users should also review CCPA requirements. The EU-US Data Privacy Framework, updated in 2023, governs transatlantic data transfers and applies to any US-based service storing EU user data, including Google Analytics.

This section covers general information. Consult a qualified legal professional for advice specific to your business and jurisdiction.

GA4's predictive metrics and AI-powered features

GA4 includes built-in machine learning features that require no additional tools or budget. The three core predictive metrics are Purchase Probability, Churn Probability, and Predicted Revenue. To activate them, a GA4 property must record at least 1,000 purchasing users and 1,000 non-purchasing users within the same 28-day period. Once active, these signals can be used to build predictive audiences directly inside GA4 and export them to Google Ads for targeting.

Most guides mention these features in passing. In practice, they change how paid media teams allocate budget.

How predictive metrics work

GA4's machine learning models analyze behavioral patterns across users who have already converted and those who have not. From this, it assigns each active user a probability score for purchase, churn, or predicted revenue contribution.

These scores update continuously as new behavior is recorded. An InfoTrust overview of GA4 predictive analytics explains that the models require sufficient historical data before predictions become reliable, which is why the 1,000-user threshold exists.

Using predictive audiences in Google Ads

Once predictive metrics are active, you can create audiences based on them inside GA4's Audiences section. For example:

  • Likely 7-day purchasers. Target users GA4 has scored as likely to buy in the next week. Use a higher bid modifier or dedicated ad creative for this segment.
  • Likely 7-day churning users. Trigger retention campaigns for users GA4 predicts will disengage soon.
  • Predicted top spenders. Build lookalike audiences for prospecting campaigns modeled on your highest predicted revenue users.

These audiences publish directly to Google Ads once linked, with no additional export or configuration needed.

AI-powered insights and anomaly detection

GA4 surfaces automated insights in the home dashboard. When traffic drops unexpectedly, conversion rates shift, or a new segment shows unusual behavior, GA4 flags it without you needing to build a custom alert. For teams running multiple campaigns across multiple channels, this reduces the time between a problem occurring and a team member acting on it.

BigQuery and Looker Studio: the free analytics stack

BigQuery export was previously a feature exclusive to paid GA360 customers. GA4 makes it free for every property. You pay only for BigQuery storage and queries, and Google's free tier covers most small to mid-sized businesses comfortably. Combined with Looker Studio, this creates a full data pipeline: raw, unsampled, permanent event-level data in BigQuery, with custom dashboards built on top in Looker Studio.

This stack removes the two biggest limitations of the standard GA4 interface: data sampling in large properties and the 14-month retention ceiling.

Why BigQuery changes what is possible

The standard GA4 interface applies sampling to Exploration reports once data volumes grow. Sampled data introduces error into any analysis that depends on precision, including revenue attribution, cohort analysis, and funnel modeling.

BigQuery stores every raw event that fires in your GA4 property. You can query it without sampling, join it with CRM data, blend it with ad spend data, and build models the GA4 interface cannot run. According to SQ Magazine, companies using a GA4, BigQuery, and Looker Studio pipeline saw a 37% rise in custom analytics builds between 2024 and 2025.

A complete walkthrough of the GA4 to BigQuery integration by Plang Phalla covers the full connection setup, schema structure, and query basics.

How to connect GA4 to BigQuery

  1. Open a Google Cloud project or create a new one at console.cloud.google.com.
  2. Enable the BigQuery API inside the project.
  3. In GA4, go to Admin, then Product Links, then BigQuery Links.
  4. Click Link and select your Google Cloud project.
  5. Choose your data location and export frequency. Daily export is available at no extra cost. Streaming export is available for higher-volume properties.
  6. Click Submit. GA4 begins exporting event-level data to a new dataset in your BigQuery project.

Building dashboards with Looker Studio

Looker Studio connects to both GA4 directly and to BigQuery. For standard reporting, use the GA4 connector. For custom, high-volume, or blended reports, connect to BigQuery.

"When we connect GA4 to BigQuery and build a Looker Studio layer on top, clients stop asking 'what happened' and start asking 'what should we do next.' That shift is where analytics actually earns its place in a growth strategy."

Tanner Medina, Co-Founder & Chief Growth Officer, Launchcodex

GA4 for multi-channel attribution and e-commerce

GA4 uses a data-driven attribution model by default. It assigns conversion credit across touchpoints based on each channel's actual contribution to the path, using machine learning rather than a fixed rule like last click or first click. For e-commerce businesses, this changes which channels appear to drive revenue and directly affects how media budget should be allocated.

Understanding attribution in GA4

Universal Analytics defaulted to last non-direct click attribution, which gave almost all credit to the final paid channel before a purchase. GA4's data-driven model distributes credit based on observed patterns across the actual conversion paths in your data.

The practical effect is that channels that assist early in the funnel, such as organic search, email, and display, receive more credit than they did under Universal Analytics. This often explains why channel performance looks different between the two platforms.

GA4's Advertising section includes a dedicated Attribution report and a Model Comparison tool. Use the comparison tool to see how revenue attribution shifts between last click and data-driven models for each channel. This data directly informs budget decisions.

GA4 e-commerce reporting

GA4's e-commerce reports cover the full purchase funnel. Key reports include:

  • Overview. Revenue, transactions, average order value, and purchase rate.
  • Purchase journey. A funnel that shows drop-off at each stage from product view to purchase.
  • Checkout journey. A step-by-step view of the checkout funnel with drop-off percentages at each step.
  • Promotions. Performance of internal promotions and banners if using view_promotion and select_promotion events.

McDonald's Hong Kong demonstrates what GA4-driven insights can deliver at scale. Using GA4's sales and in-app analytics data to optimize their mobile ordering experience, they boosted in-app orders by 550%.

How to audit and fix a broken GA4 setup

A GA4 audit takes under two hours and often reveals data problems that have been corrupting reports for months. The most common issues are wrong data retention settings, duplicate tags, missing key events, and no DebugView validation. Each of these is fixable without a developer.

The 10-point GA4 audit checklist

  1. Confirm data retention is set to 14 months in Admin, Data Settings, Data Retention.
  2. Check for duplicate tags. Open the Tag Assistant Chrome extension and visit your site. Confirm only one GA4 tag fires per page.
  3. Verify Enhanced Measurement is enabled in your data stream settings.
  4. Confirm that your highest-value events are marked as key events in Admin, Events.
  5. Check that Google Ads is linked and auto-tagging is enabled.
  6. Check that Google Search Console is linked.
  7. Run DebugView while navigating your site and confirm each key event fires with the correct parameters.
  8. Review your Realtime report. Active users should appear within seconds of a page load.
  9. Check the Acquisition reports for unusually high direct traffic. High direct traffic often signals a missing or broken UTM tagging setup.
  10. Confirm Consent Mode V2 is implemented if you have EU or UK visitors.

When to bring in outside support

If your GA4 property has been live for more than three months and you have not validated events in DebugView, checked for duplicate tags, or confirmed data retention, assume the data has errors. A focused implementation audit will surface the specific gaps faster than self-diagnosing from reports.

How to get business value from GA4 data

GA4 data has no value if it does not connect to decisions. The most effective way to build that connection is a measurement plan: a documented map of which events in GA4 correspond to which business goals. Without it, GA4 collects data that no one acts on. With it, every report connects to a decision about traffic, leads, revenue, or efficiency.

Building a GA4 measurement plan

A measurement plan does not need to be complex. It needs to be specific.

Business goalGA4 eventKey event?Reported in
Generate qualified leadsgenerate_leadYesConversions report
Drive demo requestsform_submit_demoYesConversions report
Grow email subscriberssign_upYesConversions report
Improve checkout completionpurchaseYesE-commerce reports
Reduce early drop-offengaged_sessionNoEngagement overview
Increase video consumptionvideo_completeNoEngagement events

For SaaS and B2B teams, add events that track product activation milestones such as first login, feature usage, and upgrade intent signals. These become the foundation for lifecycle marketing and retention campaigns.

Connecting GA4 to full-funnel reporting

For teams that run paid media alongside organic, the most valuable step after a clean GA4 setup is connecting GA4 data to ad platform data and CRM data in a single reporting layer. This is where the BigQuery export becomes critical. Raw event data from GA4, blended with spend data from Google Ads and Meta and pipeline data from a CRM like HubSpot or Salesforce, creates a full-funnel view that the GA4 interface alone cannot provide.

71% of small businesses with fewer than 50 employees use Google Analytics for decision-making. The businesses that grow from that baseline are the ones that connect those analytics to the decisions that actually move the numbers.

GA4 configured well: your next steps

GA4 is a capable platform when set up with intention. The businesses that get the most from it are not the ones with the most advanced setups. They are the ones that set it up cleanly, track what matters, stay compliant, and connect data to decisions consistently.

Start with the 10-point audit above. Fix any gaps you find. If your property is new, follow the setup checklist in order before you invest in any reporting. Once the foundation is clean, turn on BigQuery export, build your measurement plan, and activate predictive audiences for your paid media campaigns.

Each of these steps takes hours, not weeks. The data quality improvement that follows lasts as long as the business runs.

FAQ

What is the difference between GA4 and Universal Analytics?

Universal Analytics used a session-based data model and tracked web only. GA4 uses an event-based model, unifies web and app tracking in one property, includes predictive metrics, and offers a free BigQuery export. Universal Analytics stopped processing data in July 2023.

Is GA4 GDPR compliant by default?

No. GA4 requires Google Consent Mode V2 and a certified Consent Management Platform to meet GDPR requirements for EEA users. Without proper consent configuration, GA4 may collect data from users who declined tracking.

How long does GA4 keep data?

GA4 retains user-level event data for up to 14 months when set manually. The default is two months. Aggregate data in standard reports is not affected by the retention setting, but Exploration reports lose user-level detail after the retention window closes.

What is a key event in GA4?

A key event is any GA4 event you designate as a business-critical conversion. It replaces what Universal Analytics called a goal. Any event GA4 already collects can be marked as a key event in Admin settings without additional code changes.

Do I need BigQuery to use GA4 properly?

No. GA4 works well without BigQuery for most small and mid-sized businesses. BigQuery becomes valuable when you need unsampled data, long-term storage beyond 14 months, cross-platform data blending, or custom SQL-based analysis.

How do I activate predictive metrics in GA4?

Predictive metrics activate automatically once your property records at least 1,000 purchasing users and 1,000 non-purchasing users within any 28-day window. There is no manual configuration. Once active, they appear in the Advertising section under Predictive Audiences.

What is Consent Mode V2 and do I need it?

Consent Mode V2 is a Google framework that tells GA4 and Google Ads tags how to behave when users decline cookies. It was mandatory for EEA advertisers from March 2024. Without it, Google Ads loses the ability to build remarketing audiences and run conversion modeling for non-consenting users.

Launchcodex author image - Derick Do
— About the author
Derick Do
- Co-Founder & Chief Product Officer
Derick leads product and AI innovation at Launchcodex. He focuses on building scalable systems that automate workflows and turn strategy into measurable outcomes. He bridges technical thinking with real business impact.
Launchcodex blog spaceship

Join the Launchcodex newsletter

Practical, AI-first marketing tactics, playbooks, and case lessons in one short weekly email.

Weekly newsletter only. No spam, unsubscribe at any time.
Envelopes

Explore more insights

Real stories from the people we’ve partnered with to modernize and grow their marketing.
View all blogs

Move the numbers that matter

Bring your challenge, we will map quick wins for traffic, conversion, pipeline, and ROI.

Get your free audit today

Marketing
Dev
AI & data
Creative
Let's talk
Full Service Digital and AI Agency
We are a digital agency that blends strategy, digital marketing, creative, development, and AI to help brands grow smarter and faster.
Contact Us
Launchcodex
3857 Birch St #3384 Newport Beach, CA
(949) 629-7384
info@launchcodexagency.com
Follow Us
© 2025 Launchcodex All Rights Reserved
crossmenuarrow-right linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram