Table of Contents
- Why GA4 Replaced Universal Analytics
- GA4 Setup Walkthrough
- Navigating the GA4 Interface
- Key GA4 Reports
- Setting Up Conversion Events and Key Events
- Custom Dimensions and Metrics
- GA4 Audience Building and Activation
- GA4 Attribution Modeling
- GA4 BigQuery Integration
- GA4 and Google Ads Linking
- GA4 and Search Console Integration
- GA4 Privacy Controls
- GA4 Explore for Custom Analysis
- GA4 vs Universal Analytics Key Differences
- Common GA4 Mistakes
- GA4 Best Practices by Business Type
- Frequently Asked Questions
Why GA4 Replaced Universal Analytics
Google transitioned from Universal Analytics (UA) to GA4 for several critical reasons. First, the digital landscape has shifted dramatically toward privacy-first browsing. Apple’s Safari browser blocks third-party cookies by default, Mozilla Firefox has implemented Enhanced Tracking Protection, and Google Chrome has been phasing out third-party cookies. UA’s cookie-based tracking model was built for an era of ubiquitous cookie support — GA4’s event-based model is designed to work in a cookieless environment. Second, user behavior has changed. The average customer journey now spans multiple devices (smartphone, tablet, laptop, desktop) and multiple channels (organic search, paid ads, social media, email, direct). UA’s session-based data model treated each device as a separate user, making cross-device analysis difficult. GA4 uses a user-centric model that aggregates data across devices and platforms, providing a more accurate view of user behavior. Third, the explosion of mobile apps and non-web digital interactions required a more flexible analytics framework. GA4 was built from the start to track both web and app events in a single property, something that required separate UA properties and workarounds. Fourth, GA4’s machine learning capabilities provide predictive insights that were not available in UA. Features like predictive audiences, anomaly detection, and automated insights help businesses identify opportunities and issues without manual analysis. For US businesses subject to evolving privacy regulations (CCPA/CPRA in California, Virginia CDPA, Colorado CPA, and other state laws), GA4’s privacy controls and consent mode integration provide a more compliant analytics framework compared to UA.GA4 Setup Walkthrough
Setting up GA4 involves several steps, and proper initial configuration is critical for collecting accurate, useful data. Step 1: Create a GA4 Account and Property. Navigate to analytics.google.com and sign in with your Google account. If you are new to Google Analytics, click “Start Measuring.” If you have an existing account, go to Admin and create a new GA4 property. Enter your property name, select your reporting time zone (important for US businesses to choose the correct US time zone), and select your currency (USD). Step 2: Set Up Data Streams. Data streams are the sources of data flowing into your GA4 property. You can add up to 50 data streams per property, including Web (websites), iOS App, and Android App. For a website, enter your website URL and stream name. GA4 will generate a Measurement ID (G-XXXXXXXXXX) and provide installation instructions. Step 3: Install the Tracking Code. There are two primary methods for installing GA4 on your website. Method A: Google Tag Manager (GTM). This is the recommended method for most businesses because it provides centralized tag management. In GTM, create a new tag, select “Google Analytics: GA4 Configuration,” enter your Measurement ID, and set the trigger to “All Pages.” GTM makes it easy to manage all your tracking tags (GA4, Google Ads, Meta Pixel, LinkedIn Insight Tag, etc.) from a single interface. Method B: gtag.js (direct code). Add the GA4 JavaScript snippet directly to your website’s HTML. This is simpler but less flexible than GTM. You can also use CMS plugins for WordPress, Shopify, and other platforms to add the GA4 tracking code without editing code. Step 4: Verify Data Collection. After installing the tracking code, use the GA4 Realtime report to verify that data is flowing correctly. Visit your website and check that your session appears in the Realtime report within a few minutes. Step 5: Configure Data Settings. In the GA4 Admin panel, configure data collection settings including data retention period (2 months by default, extend to 14 months for year-over-year analysis), IP anonymization (recommended for CCPA compliance), and Google Signals (enables cross-device tracking for signed-in Google users). For businesses that need help with GA4 setup and configuration, working with an experienced analytics team at Digimau ensures that your tracking is properly configured from the start, avoiding common pitfalls that can compromise data quality.Navigating the GA4 Interface
GA4’s interface is organized into several main sections accessible from the left navigation menu. Reports is the default view and provides pre-built reports organized into categories: Snapshot (overview metrics), Acquisition (how users find you), Engagement (what users do on your site), Monetization (revenue and ecommerce), and Retention (how users return over time). These reports use GA4’s event-based data model and provide interactive exploration capabilities. Explore is GA4’s advanced analysis tool that allows you to create custom analyses including funnel exploration, path exploration, cohort analysis, segment overlap, user explorer, and free-form analysis. This is where GA4 truly shines — the ability to ask custom questions of your data without relying on pre-built reports. Advertising provides integration data with Google Ads, including campaign performance, audience insights, and conversion tracking. This section is essential for advertisers running Google Ads campaigns. Activate (formerly Engage) allows you to build audiences based on GA4 data and activate them in Google Ads, Display & Video 360, Search Ads 360, and other Google advertising platforms. This integration between analytics and advertising is one of GA4’s most powerful features. Admin provides access to all configuration settings including property settings, data streams, data collection, events, conversions, audiences, attribution settings, and product links.Key GA4 Reports
GA4’s reports section provides several essential reports for understanding your website or app performance. Realtime Report shows current activity on your site including number of active users, top pages, traffic sources, events, and user locations. This is useful for monitoring the immediate impact of campaign launches, content publishes, or website changes. Acquisition Reports show how users find your website. The Traffic Acquisition report (replacing UA’s Source/Medium report) shows sessions by channel: Organic Search, Direct, Paid Search, Social, Referral, Email, and others. This report also shows engagement metrics for each channel, helping you understand which channels drive not just traffic but meaningful engagement. Engagement Reports show what users do on your site. Key reports include Events (all events with counts), Pages and Screens (top content), Landing Page (where users enter), and Engagement Overview (average engagement time, engagement rate, events per session). Note that GA4 replaced “session duration” with “average engagement time” — a more accurate metric that measures the time a page was actively in focus. Monetization Reports are essential for e-commerce businesses. They show revenue data including ecommerce purchases, item views, add to cart events, and revenue by product, source, and other dimensions. For businesses using Google Analytics for ecommerce tracking, ensure you have implemented the appropriate ecommerce events (view_item, add_to_cart, begin_checkout, purchase with revenue value). Retention Reports show how users return to your site over time. The Retention Overview shows the percentage of users who return on day 1, day 7, day 14, and day 30 after their first visit. Cohort analysis (available in Explore) allows you to compare retention rates across different user segments.Setting Up Conversion Events and Key Events
In GA4, conversions are called “key events” (Google rebranded them in 2024). Key events are the specific user actions that are most valuable to your business — purchases, lead form submissions, phone calls, sign-ups, downloads, or any other action that indicates business value. GA4 automatically tracks several events by default, including page_view, session_start, user_engagement, first_visit, and file_download. However, most business-critical events require custom setup. To set up key events, navigate to Admin > Events and mark the relevant events as key events. Before marking events as key events, ensure they are being collected correctly. You can verify event data in the Realtime report and DebugView. For e-commerce businesses, implement enhanced ecommerce measurement by sending the following events with the appropriate parameters: view_item_list (product impressions on category pages), select_item (product clicked), view_item (product page view), add_to_cart, remove_from_cart, begin_checkout, add_shipping_info, add_payment_info, and purchase (with transaction_id, value, currency, and items array). For lead generation businesses, key events typically include: generate_lead (form submission), phone_call (phone number clicked), and file_download (resource downloaded). Track these events with appropriate values when possible to enable ROAS calculation.Custom Dimensions and Metrics
GA4 allows you to create custom dimensions and custom metrics to track data points that are not included in the default event parameters. This is essential for businesses that need to track specific information about their users, content, or transactions. Custom dimensions can be event-scoped (attached to specific events), user-scoped (attached to the user), or item-scoped (attached to ecommerce items). Examples include: content category (event-scoped), membership tier (user-scoped), product brand (item-scoped), and author name (event-scoped). Custom metrics are numeric values attached to events. For example, you might track “articles read” per session, “pages viewed” per visit, or “support tickets resolved” per user interaction. To create custom dimensions and metrics, you first need to register them in the GA4 Admin panel, then ensure the data is being sent with your events. For GTM users, you can set custom event parameters in your GTM tags and then register them as custom dimensions in GA4. Note that custom dimensions and metrics are subject to GA4’s data processing limits. Free GA4 properties can have up to 50 event-scoped custom dimensions and 25 custom metrics. GA4 360 (paid) allows up to 125 event-scoped custom dimensions and 125 custom metrics.GA4 Audience Building and Activation
GA4 audiences are groups of users defined by specific criteria — demographics, behavior, events, or combinations of conditions. Audiences are the bridge between analytics and advertising, enabling you to activate your GA4 data in Google Ads and other advertising platforms. Common GA4 audience types include: Purchasers (users who completed a purchase event), Cart Abandoners (users who added to cart but did not purchase), High-Value Users (users with lifetime revenue above a threshold), Engaged Users (users with 3+ sessions or engagement time over 5 minutes), New Users (users whose first visit was within a defined period), and Predictive Audiences (users likely to purchase or churn in the next 7 days, based on GA4’s machine learning models). GA4’s predictive audiences are particularly powerful. When your property has sufficient data (typically 1,000+ users and 500+ returning users with purchase events in the past 28 days), GA4 automatically generates “Likely to purchase” and “Likely to churn” audiences. These can be activated in Google Ads for targeted bidding and creative — showing different ads to users predicted to purchase versus those at risk of churning. To activate audiences in Google Ads, link your GA4 property to your Google Ads account and configure audience sharing. Once linked, your GA4 audiences appear in Google Ads as remarketing lists, and you can use them for targeting, bid adjustments, and exclusion.GA4 Attribution Modeling
Attribution modeling in GA4 determines how credit for conversions is distributed across marketing channels and touchpoints. GA4 offers several attribution models, and choosing the right one significantly impacts how you evaluate channel performance. Data-Driven Attribution is GA4’s default and recommended model. It uses machine learning to analyze conversion and non-conversion paths and assigns credit proportionally based on each touchpoint’s contribution. This model is the most accurate because it accounts for the unique patterns in your data rather than applying a generic rule. It requires a minimum of 300 conversions and 3,000 ad interactions in the past 28 days to generate. Last-Click Attribution assigns 100% of conversion credit to the last channel the user interacted with before converting. This is the simplest model but often overcredits bottom-of-funnel channels like branded search while undervaluing awareness channels. First-Click Attribution assigns 100% of credit to the first channel that brought the user to your site. This model highlights awareness channels but ignores the influence of subsequent touchpoints. Linear Attribution distributes credit equally across all touchpoints in the conversion path. This provides a balanced view but does not account for the varying influence of different touchpoints. Time-Decay Attribution assigns more credit to touchpoints closer to the conversion event, with credit decaying for earlier interactions. This is a good compromise for businesses with shorter consideration cycles. You can compare attribution models in the GA4 Advertising > Attribution reports to see how different models affect your channel performance analysis. In 2026, data-driven attribution is recommended for most businesses because it provides the most accurate representation of channel contribution.GA4 BigQuery Integration
One of GA4’s most significant advantages over Universal Analytics is free BigQuery integration for all properties (not just GA4 360). BigQuery is Google’s enterprise data warehouse that allows you to run SQL queries against your raw analytics data. The BigQuery integration exports raw, unsampled event data from your GA4 property to BigQuery on a daily basis. This gives you access to every single event, with all parameters, user properties, and device information — without the sampling limitations that affect GA4’s standard reports. Use cases for GA4 BigQuery integration include: advanced funnel analysis beyond what Explore offers, custom SQL-based reporting with complex business logic, combining GA4 data with other data sources (CRM, ad platform APIs, offline sales data), building custom dashboards in Looker Studio with BigQuery as the data source, machine learning and predictive modeling using your analytics data, and data warehousing for long-term analysis (GA4 standard data retention is limited to 2-14 months). To set up BigQuery integration, you need a Google Cloud project with BigQuery enabled, the GA4 property linked to the BigQuery project, and appropriate permissions configured. The initial setup exports historical data, and then daily exports begin automatically.GA4 and Google Ads Linking
Linking GA4 with Google Ads creates a powerful integration that improves campaign optimization and measurement. When linked, Google Ads can use GA4 data (including site engagement and offline conversions) to optimize bidding and targeting. To link GA4 with Google Ads, navigate to Admin > Product Links > Google Ads Links and follow the setup wizard. You can link multiple Google Ads accounts to a single GA4 property. Key benefits of the integration include: Google Ads can optimize for conversions tracked in GA4 (not just Google Ads conversion actions), you can import GA4 audiences into Google Ads for remarketing, GA4 reports include Google Ads campaign and ad group data for cross-channel analysis, and you can use GA4’s audience insights to inform Google Ads targeting and creative decisions. For the best results, ensure that your GA4 key events are aligned with your Google Ads conversion actions. When Google Ads optimizes toward GA4 key events, it leverages both Google Ads conversion data and on-site behavior data, resulting in more accurate optimization.GA4 and Search Console Integration
Linking GA4 with Google Search Console adds organic search data to your GA4 reports, including which Google search queries drove users to your site, your average search position for those queries, impressions and clicks from Google search results, and click-through rates from search results to your pages. To link, navigate to Admin > Product Links > Search Console Links. You need to have your site verified in Google Search Console and be a site owner or full user. The integration adds two reports to GA4: Search Console Queries (which search terms drove traffic) and Search Console Landing Pages (which pages received organic search traffic). This data is invaluable for SEO optimization — you can see which queries drive the most engaged users, which pages have the highest organic search CTR, and identify opportunities to improve your search rankings.GA4 Privacy Controls
GA4 includes several privacy controls that help US businesses comply with state and federal privacy regulations. Data Retention: GA4 retains user-level and event-level data for a configurable period (2 months by default, up to 14 months). After the retention period expires, user identifiers are deleted, though aggregated data is retained. For year-over-year analysis, extend retention to 14 months. IP Anonymization: When enabled (recommended), GA4 anonymizes IP addresses before storing them. This reduces the risk of personally identifiable information being stored and is required for GDPR compliance and recommended for CCPA compliance. Google Signals: This feature enables cross-device tracking using signed-in Google users’ data. When enabled, GA4 can associate sessions across devices for the same user. However, Google Signals data is subject to Google’s advertising policies and user consent settings. You can enable or disable Google Signals in the Data Collection settings. Consent Mode: GA4 supports Google Consent Mode v2, which adjusts data collection based on user consent choices. When a user has not consented to analytics cookies, GA4 can still collect “cookieless pings” that provide aggregated, modeled data without storing personal identifiers. This allows you to maintain some measurement capability even when users opt out of tracking. Data Deletion: GA4 supports data deletion requests for compliance with GDPR’s “right to erasure” and CCPA’s “right to delete.” You can submit deletion requests through the GA4 Admin panel or API.GA4 Explore for Custom Analysis
GA4’s Explore section is the most powerful analysis tool available in the standard Google Analytics interface. It allows you to create custom analyses that go far beyond pre-built reports. Free-form Analysis is the most flexible exploration type. You select dimensions and metrics, apply filters and segments, and visualize data in tables, line charts, bar charts, pie charts, and scatter plots. It functions like a pivot table for your analytics data. Funnel Exploration allows you to define a sequence of steps and analyze where users drop off. For example, you can create a purchase funnel: Landing Page > Product Page > Add to Cart > Checkout > Purchase. The funnel report shows the conversion rate between each step and identifies where the biggest drop-offs occur. Path Exploration visualizes the paths users take through your site. You can see the most common paths from a starting point (e.g., homepage) to an endpoint (e.g., purchase), or explore reverse paths from an endpoint backward. This analysis helps identify the most effective content pathways and navigation patterns on your site. Cohort Analysis groups users by a shared characteristic (e.g., users who first visited in the same week) and tracks their behavior over time. This is valuable for understanding retention patterns, the impact of changes or campaigns on user behavior, and lifetime value trends. Segment Overlap shows the overlap between different user segments. For example, you can see how many users who purchased from a Google Ads campaign also visited from organic search, revealing cross-channel influence. User Explorer shows individual user journeys, including every event, page view, and session for a specific user (anonymized by User ID or client ID). This is useful for debugging tracking issues and understanding detailed user behavior patterns.GA4 vs Universal Analytics Key Differences
Understanding the key differences between GA4 and UA helps businesses transition effectively and take advantage of GA4’s new capabilities. Data Model: UA used a session-based, hit-type model (pageview, event, transaction). GA4 uses a user-centric, event-based model where everything is an event. This provides more flexibility and better cross-platform tracking. Identity: UA relied primarily on cookies for user identification. GA4 uses multiple identifiers including cookies, the Measurement Protocol, user ID (for authenticated users), and Google Signals for cross-device tracking. GA4’s “blended” identity model provides more accurate user counting across sessions. Reporting: UA had fixed reports with limited customization. GA4’s Explore tool provides virtually unlimited analysis capabilities through custom explorations. Machine Learning: GA4 includes built-in machine learning for predictive metrics (predicted purchase probability, predicted churn probability), anomaly detection (automatic alerts for unusual data patterns), and automated insights (AI-generated observations about your data). BigQuery: Free BigQuery export is available for all GA4 properties. UA required GA4 360 (paid) for BigQuery access. Ecommerce: UA used Enhanced Ecommerce with a specific implementation pattern. GA4 uses event-based ecommerce with different event names and parameters. Migration requires updating your tracking implementation. Audiences: GA4 audiences are more powerful, with predictive audiences, cross-property audiences, and more flexible condition builders. They integrate directly with Google Ads, DV360, and other Google advertising platforms.Common GA4 Mistakes
The most common GA4 mistakes include: not extending data retention beyond the default 2 months (losing historical data for year-over-year analysis), not implementing enhanced measurement events (missing important user interactions), not setting up key events for all business-critical conversions, relying solely on default reports without using Explore for deeper analysis, not linking GA4 with Google Ads and Search Console (missing valuable integration data), not setting up custom dimensions for business-specific data points, not implementing consent mode for privacy compliance, using only the default data retention period and losing valuable historical data, not verifying that events are firing correctly using DebugView, and not configuring data filters to exclude internal traffic (your own team’s visits). Avoiding these mistakes requires proper initial setup, ongoing monitoring, and regular review of your analytics configuration. For US businesses, proper GA4 setup is particularly important for maintaining compliance with evolving privacy regulations. Working with an analytics specialist at Digimau can help ensure your GA4 implementation is accurate, compliant, and optimized for your business needs.GA4 Best Practices by Business Type
E-Commerce: Implement full enhanced ecommerce tracking (view_item, add_to_cart, begin_checkout, purchase with revenue and item data). Set up key events for all purchase-related actions. Use funnel exploration to analyze the checkout flow and identify drop-off points. Create audiences for cart abandoners, past purchasers, and high-value customers. Link GA4 with Google Merchant Center for shopping campaign optimization. B2B / SaaS: Track trial sign-ups, demo requests, and pricing page views as key events. Use UTM parameters on all campaigns for accurate source tracking. Create audiences based on engagement level (users who visited pricing page, users who downloaded resources). Use path exploration to understand the B2B buyer journey from first visit to conversion. Integrate GA4 with your CRM (HubSpot, Salesforce) for closed-loop attribution. Lead Generation: Track all form submissions, phone calls, and chat interactions as key events. Assign values to different lead types to enable ROAS calculation. Use funnel exploration to analyze lead generation flows. Create remarketing audiences for users who visited contact/quote pages but did not convert. Monitor lead quality by tracking post-lead engagement (content consumption after form submission). Content Publishing: Focus on engagement metrics (average engagement time, scroll depth, events per session) rather than pageviews. Track content-specific events like newsletter sign-ups, social shares, and comments. Use cohort analysis to measure content’s impact on user retention. Create audiences of highly engaged readers for monetization and remarketing.Frequently Asked Questions
Is Google Analytics 4 free?
Yes, GA4 is free for standard properties with up to 10 million events per month. For properties exceeding this limit, GA4 360 (paid) offers higher limits, advanced features, and dedicated support. GA4 360 pricing starts at approximately $50,000 per year.
How do I set up GA4 for my website?
Create a GA4 account and property at analytics.google.com, set up a web data stream, install the tracking code via Google Tag Manager or gtag.js, configure data retention (extend to 14 months), enable IP anonymization, and verify data collection using the Realtime report.
What is the difference between events and key events in GA4?
Events are any user interactions tracked in GA4 (page views, clicks, form submissions, etc.). Key events (formerly conversions) are specific events you designate as most valuable to your business. Marking an event as a key event tells GA4 to optimize reporting and audience building around that action.
How long does GA4 retain data?
GA4’s default data retention period is 2 months for user-level and event-level data. You can extend this to 14 months in the Admin settings. Aggregated data in reports is retained longer, but user-level detail is deleted after the retention period expires.
Can I use GA4 for ecommerce tracking?
Yes, GA4 supports enhanced ecommerce tracking through event-based measurement. Implement events like view_item, add_to_cart, begin_checkout, and purchase with revenue and item parameters. This provides detailed product, revenue, and conversion funnel data.
What is GA4 BigQuery integration?
BigQuery integration exports your raw, unsampled GA4 event data to Google BigQuery on a daily basis. This allows you to run custom SQL queries, combine analytics data with other sources, build advanced dashboards, and perform machine learning analysis — all for free with standard GA4.
How do I exclude internal traffic in GA4?
Use GA4’s data filter feature in Admin > Data Streams > Configure tag settings > Show all > Define internal traffic. Set a filter condition based on your office IP address, then apply the filter as an active filter in Admin > Data Settings > Data Filters.
What is GA4 consent mode?
Consent Mode v2 adjusts GA4 data collection based on user consent choices. When users have not consented to analytics cookies, GA4 sends cookieless pings for modeled data. This allows measurement continuity while respecting privacy preferences, important for CCPA and GDPR compliance.
How do I link GA4 with Google Ads?
Navigate to Admin > Product Links > Google Ads Links, select your Google Ads account, and configure the linking options. This enables Google Ads to use GA4 conversion data and audiences for campaign optimization and remarketing.
What are GA4 predictive audiences?
Predictive audiences use machine learning to identify users likely to purchase or churn in the next 7 days. GA4 automatically generates these when your property has sufficient data (1,000+ users, 500+ returning purchasers). They can be activated in Google Ads for targeted campaigns.