Table of Contents
- What Is Google Analytics 4?
- Setting Up GA4 From Scratch
- Event-Based Tracking Model Explained
- Creating Custom Events and Conversions
- Standard Reports and How to Use Them
- Explorations: Advanced Analysis Techniques
- Building Audiences and Segments
- Integrations: BigQuery, Ads, and Search Console
- Attribution Settings in GA4
- GA4 Best Practices and Common Mistakes
Key Takeaways
- GA4 uses an event-based model where every interaction is tracked as an event, replacing the session-based approach of Universal Analytics.
- Custom explorations in GA4 provide far more analytical flexibility than standard reports alone.
- Linking GA4 to BigQuery enables free raw data export for advanced SQL-based analysis.
- Proper conversion event setup is critical because GA4 no longer uses goal-based tracking.
- GA4 attribution models default to data-driven attribution, which uses machine learning to assign credit across touchpoints.
What Is Google Analytics 4?
Google Analytics 4 (GA4) is Google's current analytics platform, built on an entirely different architecture than its predecessor, Universal Analytics. While Universal Analytics tracked pageviews within sessions, GA4 uses an event-based data model where every user interaction—page views, clicks, scrolls, video plays, file downloads—is captured as a discrete event with associated parameters.
This architectural shift matters because modern user journeys span multiple devices and platforms. GA4 was designed from the ground up to handle cross-platform tracking, combining web and app data into a single property. According to Google's Marketing Platform blog, GA4 processes over 100 billion events daily across millions of properties worldwide.
The key differences that practitioners need to understand include:
| Feature | Universal Analytics | Google Analytics 4 |
|---|---|---|
| Data Model | Session-based (hits) | Event-based (events + parameters) |
| User Identity | Client ID only | User ID + Client ID + Google Signals |
| Cross-Platform | Separate web/app | Unified web + app |
| Attribution | Last-click default | Data-driven default |
| Data Retention | Up to 50 months | 2 or 14 months (user-level) |
| BigQuery Export | GA360 only (paid) | Free for all properties |
| Reporting | Pre-built reports | Standard reports + Explorations |
| Machine Learning | Limited | Predictive metrics, anomaly detection |
For marketers already using GA4, the platform has matured significantly through 2025 and into 2026, with improved reporting interfaces, expanded predictive audiences, and better integration with Google's advertising ecosystem. If you are still getting comfortable with GA4's interface, this guide walks through every critical component you need to master.
Setting Up GA4 From Scratch
Setting up GA4 correctly from the start prevents costly data gaps and retroactive fixes. Here is the step-by-step process for a clean implementation:
Step 1: Create Your GA4 Property
Navigate to the Google Analytics admin panel, click "Create Property," and fill in your property name, time zone, and currency. Choose your industry category carefully—GA4 uses this for benchmarking data.
Step 2: Set Up a Web Data Stream
Under your new property, go to Data Streams and add a Web stream. Enter your site URL, and GA4 will generate a Measurement ID (format: G-XXXXXXXXXX). This replaces the old UA tracking ID.
Step 3: Install the Tracking Code
You have three primary installation methods:
- Google Tag Manager (Recommended): Create a GA4 Configuration tag in Google Tag Manager with your Measurement ID. This provides maximum flexibility for future event tracking.
- Global Site Tag (gtag.js): Add the JavaScript snippet directly to your site's <head> section. Simpler but less flexible.
- CMS Plugins: Platforms like WordPress, Shopify, and Wix offer native GA4 integrations. For WordPress specifically, check our WordPress SEO guide for optimized implementation.
Step 4: Enable Enhanced Measurement
GA4's Enhanced Measurement automatically tracks several event types without additional code:
- Page views (triggered on history change events as well)
- Scrolls (fires when user reaches 90% of page depth)
- Outbound clicks (clicks leading to external domains)
- Site search (captures search terms from URL parameters)
- Video engagement (play, progress, complete for embedded YouTube)
- File downloads (common file extensions like PDF, DOCX, XLSX)
- Form interactions (form start and submit events)
Enable all of these in Data Streams > Enhanced Measurement. These events provide baseline engagement data that tools like Sentinel's Dwell Time Bot can leverage to identify content that keeps visitors engaged versus pages that lose them.
Step 5: Configure Data Retention
Navigate to Data Settings > Data Retention and set user-level data retention to 14 months (the maximum). The default is only 2 months, which severely limits your Exploration reports. Aggregated data in standard reports is not affected by this setting.
Step 6: Link Google Signals
Under Data Settings > Data Collection, enable Google Signals. This activates cross-device reporting and demographics data for users who have opted into ad personalization. Note that Google Signals can trigger data thresholding when audience sizes are small, which hides certain rows in reports.
Step 7: Exclude Internal Traffic
Define internal traffic filters under Data Streams > Configure Tag Settings > Define Internal Traffic. Add your office IP addresses, then activate the filter under Data Settings > Data Filters. Always test filters in "Testing" state first before switching to "Active."
Event-Based Tracking Model Explained
GA4's event-based model is the most fundamental conceptual shift from Universal Analytics. Every user interaction is an event. Every event can carry up to 25 custom parameters. Understanding this hierarchy is essential for meaningful data collection.
Event Categories in GA4
GA4 organizes events into four tiers:
| Event Type | Description | Examples |
|---|---|---|
| Automatically Collected | Tracked without any configuration | first_visit, session_start, user_engagement |
| Enhanced Measurement | Tracked when enabled in settings | page_view, scroll, click, file_download |
| Recommended Events | Predefined names for common actions | purchase, sign_up, add_to_cart, login |
| Custom Events | Events you define for unique needs | tool_demo_started, pricing_viewed, chatbot_opened |
Event Parameters Deep Dive
Parameters add context to events. For example, a page_view event includes parameters like page_location, page_title, and page_referrer. When you create custom events, you can attach custom parameters to enrich your data.
Each event supports:
- Up to 25 custom event parameters
- Up to 25 custom user properties (tied to the user, not the event)
- Parameter values up to 100 characters for text, or numeric values
To make parameters appear in reports, you must register them as custom dimensions or custom metrics in GA4's admin panel under Custom Definitions. GA4 allows up to 50 custom event-scoped dimensions, 25 user-scoped dimensions, and 50 custom metrics per property.
Understanding the User Engagement Event
One of the most important automatically collected events is user_engagement. This fires when the page is in the foreground for at least one second. GA4 uses this event to calculate "engaged sessions"—sessions lasting more than 10 seconds, having a conversion event, or with 2+ page views. This directly determines your engagement rate, which replaced bounce rate as GA4's primary engagement metric.
If you are looking to improve your engagement metrics, understanding how GA4 calculates session engagement is the first step. Sentinel's Dwell Time Bot provides detailed analysis of how your pages perform against engagement thresholds, identifying which content retains visitors and which loses them within seconds.
DebugView for Event Validation
GA4's DebugView (found under Admin > DebugView) shows events in real-time as they fire. To activate it, install the Google Analytics Debugger Chrome extension or add debug_mode: true to your gtag configuration. Always validate new events in DebugView before relying on them for reporting.
Creating Custom Events and Conversions
Custom events let you track the specific interactions that matter to your business. GA4 provides two methods for creating them: within the GA4 interface and via Google Tag Manager.
Method 1: GA4 Interface (Event Modification)
Navigate to Admin > Events > Create Event. You can create new events based on existing event conditions. For example, you might create a "high_value_page_view" event that fires when someone views your pricing page by setting the condition: event_name equals page_view AND page_location contains "/pricing".
This method is limited to modifying or combining existing event data. It cannot capture entirely new interactions.
Method 2: Google Tag Manager (Recommended)
For tracking new interactions, Google Tag Manager provides full flexibility. Common custom events include:
- CTA button clicks: Track which calls-to-action drive clicks using Click triggers
- Form submissions: Track form completions with Form Submission triggers
- Scroll depth: Track 25%, 50%, 75%, 100% scroll milestones beyond GA4's default 90%
- Video engagement: Track non-YouTube video players using custom JavaScript triggers
- Time on page: Fire events at specific dwell-time thresholds (30s, 60s, 120s)
Marking Events as Conversions
In GA4, any event can become a conversion. Navigate to Admin > Conversions > New Conversion Event and enter the exact event name. Alternatively, toggle the "Mark as conversion" switch next to any event in the Events report.
Key conversion tracking practices:
- GA4 allows up to 30 conversion events per property
- Conversion counting can be set to "Once per session" or "Every event" (configure in the conversion settings)
- Use "Once per session" for lead form submissions to avoid inflated counts
- Use "Every event" for e-commerce purchases where each transaction should count
According to research from WordStream, the average website conversion rate across industries sits around 2.35%, with the top 25% of sites converting at 5.31% or higher. Setting up proper conversion tracking is the first step to understanding where you stand and where you can improve. Our conversion rate optimization guide details 20 strategies for improving these numbers.
E-Commerce Event Tracking
For e-commerce sites, GA4 supports a full set of recommended events covering the purchase funnel:
| Event | Funnel Stage | Key Parameters |
|---|---|---|
| view_item_list | Browsing | item_list_name, items[] |
| view_item | Product view | currency, value, items[] |
| add_to_cart | Cart addition | currency, value, items[] |
| begin_checkout | Checkout start | currency, value, items[] |
| add_payment_info | Payment | currency, value, payment_type |
| purchase | Purchase complete | transaction_id, value, tax, shipping |
Implement these using the GA4 e-commerce documentation for proper data layer formatting.
Standard Reports and How to Use Them
GA4 organizes standard reports into several categories. Understanding what each report offers—and its limitations—helps you extract insights efficiently without always needing custom explorations.
Reports Snapshot
The Reports Snapshot provides a dashboard overview of your property's key metrics over a selected period. It shows user counts, new user acquisition, revenue (if applicable), and engagement metrics. Customize this by clicking "Customize report" to add or remove the summary cards.
Realtime Report
Shows activity from the last 30 minutes. Useful for verifying tracking implementation, monitoring campaign launches, and checking the immediate impact of social media posts. GA4's Realtime report shows users by traffic source, geographic location, page or screen, and events firing in real time.
Acquisition Reports
GA4 provides two acquisition reports:
- User Acquisition: Shows the first touchpoint that brought each user to your site. Dimension: "First user default channel group."
- Traffic Acquisition: Shows the source of each session, regardless of whether the user is new or returning. Dimension: "Session default channel group."
This distinction is critical. If you want to know which channels bring new users, use User Acquisition. If you want to know what drives all sessions (including return visits), use Traffic Acquisition.
Engagement Reports
The Engagement section includes:
- Events: Lists all events with counts and user counts
- Conversions: Shows only events marked as conversions
- Pages and Screens: The equivalent of the old "All Pages" report, showing page views, users, engagement rate, and average engagement time per page
- Landing Pages: Shows which pages users enter your site through, with session-level metrics
The Pages and Screens report is particularly valuable for content optimization. Sort by "Average engagement time" to find your stickiest content, then cross-reference with Sentinel's Bounce Rate Bot to identify pages that have both high traffic and poor engagement—those are your highest-impact optimization targets.
Retention Reports
GA4's retention report shows how well you retain users over time through cohort analysis. It displays new user retention (percentage of new users returning each day or week) and user engagement by cohort. This is especially useful for SaaS platforms and content sites that depend on repeat visitation.
Demographics and Tech Reports
With Google Signals enabled, you can see demographic data including age brackets, gender, and interests. The Tech report shows browser, operating system, screen resolution, and device category breakdowns. Use the Tech > Tech details report to identify browser-specific UX issues that might be driving up bounce rates on certain platforms.
Customizing Standard Reports
GA4 allows you to customize the report navigation by creating custom report collections. Navigate to Library (bottom of the left navigation) to create new report collections, add custom overview reports, or modify existing report cards. This is valuable for creating role-specific views—one for your SEO team, another for paid media, and a third for executives.
See how Sentinel can help your SEO strategy
Try all 4 tools with a 7-day free trial. Cancel any time before day 7 and you won't be charged.
Start Free TrialExplorations: Advanced Analysis Techniques
Explorations are GA4's power-user analysis tool. Unlike standard reports, Explorations allow you to drag and drop dimensions, metrics, segments, and filters to create custom analyses. They are subject to your data retention settings, so if you set retention to 2 months, Explorations will only have access to 2 months of user-level data.
Exploration Techniques
GA4 offers seven exploration types:
| Technique | Best For | Use Case Example |
|---|---|---|
| Free Form | Custom tables, charts | Revenue by landing page and device category |
| Funnel Exploration | Conversion funnels | Checkout funnel drop-off analysis |
| Path Exploration | User journey mapping | What do users do after viewing the pricing page? |
| Segment Overlap | Audience comparison | How many mobile users are also purchasers and newsletter subscribers? |
| User Explorer | Individual user journeys | Debug a specific user's conversion path |
| Cohort Exploration | Retention analysis | Week-over-week retention for users acquired from paid search |
| User Lifetime | LTV analysis | Which acquisition channels produce the highest lifetime value? |
Funnel Exploration Best Practices
Funnel Exploration is one of the most actionable tools in GA4. To build an effective funnel:
- Define each step using events or page paths (page_view with page_location parameter matching specific URLs)
- Enable "Make open funnel" to see how many users enter at each step rather than only counting those who started at step one
- Use the "Breakdown" feature to compare funnel performance by device, traffic source, or geography
- Apply segments to compare different user cohorts through the same funnel
According to Baymard Institute research, the average documented cart abandonment rate is approximately 70%. Funnel Exploration helps you identify exactly where and why users drop off in your specific context.
Path Exploration for Content Optimization
Path Exploration visualizes the sequence of pages or events that users trigger. This is invaluable for understanding content consumption patterns. Configure it to start from a specific page (like a high-traffic blog post), and observe what users do next. If most users exit rather than navigating to a related article or product page, that is a clear signal to improve your internal linking and calls-to-action.
This kind of path analysis complements the data you get from tools like Sentinel's Dwell Time Bot, which helps you understand not just where users go, but how deeply they engage with each page along the journey. Combining behavioral path data with engagement depth metrics gives you a complete picture of your content's performance.
Segments in Explorations
Segments in Explorations work differently from Universal Analytics segments. GA4 supports three segment types:
- User segments: Include all sessions from users who meet the criteria at any point
- Session segments: Include only the specific sessions that meet the criteria
- Event segments: Include only specific events that meet the criteria
You can apply up to four segments simultaneously and compare them side by side. Use segment comparisons to answer questions like "Do users from organic search have different browsing patterns than users from paid campaigns?"
Building Audiences and Segments
GA4 audiences serve two purposes: they enable you to analyze specific user groups in reports, and they can be exported to Google Ads for targeted remarketing. Building effective audiences requires understanding GA4's audience builder and its predictive capabilities.
Creating Custom Audiences
Navigate to Admin > Audiences > New Audience. You can build audiences using:
- Dimensions: Demographics, technology, acquisition source, geographic location
- Metrics: Session count, purchase count, LTV thresholds
- Events: Users who triggered (or did not trigger) specific events
- Time-based conditions: Users who performed actions within a specific time window
- Sequences: Users who performed events in a specific order (e.g., viewed product, then added to cart, but did not purchase)
Predictive Audiences
GA4's machine learning creates predictive metrics when your property has sufficient data:
| Predictive Metric | Requirements | What It Predicts |
|---|---|---|
| Purchase probability | 1,000+ purchasers and 1,000+ non-purchasers in 7 days | Likelihood a user will purchase in the next 7 days |
| Churn probability | 1,000+ returning users and 1,000+ churned users in 7 days | Likelihood an active user will not visit in the next 7 days |
| Revenue prediction | Same as purchase probability | Predicted revenue from a user in the next 28 days |
When predictive metrics are available, you can create audiences like "Likely 7-day purchasers" or "Likely 7-day churners" and use them for targeted remarketing through Google Ads. These predictive audiences consistently outperform standard remarketing lists because they focus ad spend on users who are statistically most likely to convert.
Audience Triggers
A powerful but underused feature is audience triggers. When a user joins an audience, GA4 can fire an event. This lets you track when users reach important milestones (like becoming a "high-value user" or crossing a session count threshold) and even mark those trigger events as conversions.
For example, you might create an audience of "Engaged Blog Readers" defined as users with 5+ sessions who have viewed at least 3 blog posts with engagement time over 60 seconds. When users enter this audience, GA4 fires an event that you can use for attribution analysis or as a remarketing trigger.
Integrations: BigQuery, Ads, and Search Console
GA4's integration ecosystem significantly extends its analytical capabilities. Three integrations are essential for most marketing teams.
BigQuery Export (Free)
The single most significant advantage GA4 offers over Universal Analytics is free raw data export to Google BigQuery. This gives you:
- Access to raw, hit-level event data without sampling
- No data retention limits—data in BigQuery stays as long as you want
- SQL-based querying for complex analysis impossible in the GA4 interface
- Ability to join GA4 data with CRM, sales, and other business data
- Data ownership—exported data lives in your own Google Cloud project
To enable BigQuery export, navigate to Admin > BigQuery Links > Link. Choose between daily export (free, data arrives once per day) and streaming export (near real-time, but incurs BigQuery streaming insert costs). Daily export is sufficient for most use cases.
Common BigQuery queries for GA4 data include:
- Unsampled user journey analysis across any time range
- Custom attribution models beyond what GA4's interface offers
- Revenue analysis by landing page, content category, or author
- Session-level engagement analysis correlated with conversion outcomes
Google Ads Integration
Linking GA4 to Google Ads enables bidirectional data sharing:
- GA4 conversions can be imported into Google Ads for Smart Bidding optimization
- GA4 audiences can be exported to Google Ads for remarketing
- Google Ads campaign data appears in GA4's acquisition reports
- Predictive audiences from GA4 can power ad targeting
Navigate to Admin > Google Ads Links to set up the connection. If you run PPC campaigns, combining GA4 audience data with tools like Sentinel's Google Ads Clicker Bot gives you comprehensive visibility into how paid traffic behaves after clicking through to your site—not just what happens in the ad platform.
Google Search Console Integration
Linking Google Search Console to GA4 brings organic search performance data into your analytics. The Search Console report in GA4 shows queries, landing pages, impressions, clicks, CTR, and average position. While the data is also available in Search Console directly, having it in GA4 lets you correlate search performance with on-site behavior. For a deeper dive into Search Console, see our complete Google Search Console tutorial.
Additional Integrations
Other valuable GA4 integrations include:
- Google Merchant Center: E-commerce product performance data
- Firebase: Mobile app analytics alongside web data
- Looker Studio (formerly Data Studio): For building custom visual dashboards from GA4 data. See our marketing dashboard guide for best practices.
- Third-party tools: GA4 data can be exported via API or BigQuery to platforms like Tableau, Power BI, and various marketing automation tools
Attribution Settings in GA4
Attribution—determining which marketing touchpoints get credit for conversions—has changed substantially in GA4. Understanding the available models and how to configure them is essential for accurate marketing measurement.
GA4's Attribution Models
As of 2026, GA4 offers three attribution models:
| Model | How It Works | Best For |
|---|---|---|
| Data-Driven (Default) | Uses machine learning to assign credit based on how each touchpoint changes conversion probability | Most businesses; requires sufficient conversion data |
| Paid and Organic Last Click | 100% credit to last non-direct touchpoint | Simple businesses or those with low conversion volume |
| Google Paid Channels Last Click | Prioritizes Google Ads as the last click source | Businesses primarily investing in Google Ads |
Google removed first-click, linear, time-decay, and position-based models in late 2023. The data-driven model is generally the best choice because it uses your actual conversion data to weight touchpoints rather than applying arbitrary rules.
Configuring Attribution Settings
Navigate to Admin > Attribution Settings. Key configuration options include:
- Reporting attribution model: Applies to all standard reports and Explorations
- Lookback window for acquisition events: 30 days (default) or 7 days
- Lookback window for all other events: 30, 60, or 90 days
The lookback window determines how far back GA4 looks for touchpoints when assigning attribution. For businesses with longer sales cycles (B2B, high-consideration purchases), extend this to 90 days. For impulse or short-cycle purchases, 30 days may be sufficient.
Attribution in Practice
To view attributed conversion data, use the Advertising section in GA4 (under Reports > Advertising). The Model Comparison report lets you compare how different attribution models value your channels. The Conversion Paths report shows the full multi-touch journey leading to conversions.
For a comprehensive deep dive into attribution strategy, including how to choose the right model for your business, see our attribution modeling guide.
GA4 Best Practices and Common Mistakes
After helping teams implement and optimize GA4, we have identified the practices that separate high-performing analytics setups from problematic ones.
Best Practices
- Establish a measurement plan before implementing: Document what you need to track before touching GTM or GA4. Define key events, conversion events, custom dimensions, and audience definitions in advance.
- Use consistent event naming conventions: Follow GA4's recommended naming format (lowercase_with_underscores). Create a shared naming document your team references.
- Set up cross-domain tracking for multi-domain properties: Configure this in Data Streams > Configure Tag Settings > Configure Your Domains. Without it, users navigating between your domains will be counted as separate sessions.
- Create annotations for significant changes: GA4 does not have a built-in annotation feature like Universal Analytics. Use a shared spreadsheet to log site changes, campaigns, and algorithm updates alongside dates for context when analyzing data trends.
- Regularly audit your implementation: Schedule quarterly reviews of your tracking setup. Verify events are firing correctly, custom dimensions contain expected values, and conversion events reflect current business priorities.
- Export to BigQuery early: Even if you do not plan to query it immediately, start the daily export to BigQuery as early as possible. You cannot backfill data that was not exported.
Common Mistakes to Avoid
- Comparing GA4 metrics directly to Universal Analytics: Different data models produce different numbers. Sessions, users, and conversion counts will not match. Establish new baselines in GA4 rather than expecting parity.
- Ignoring data thresholding: When Google Signals is enabled and audience sizes are small, GA4 will hide data rows. If you see "(other)" rows or missing data, thresholding is likely the cause. Consider creating unsampled BigQuery reports for sensitive analyses.
- Over-relying on last-click in reports: With data-driven attribution as the default, switching to last-click to match your "familiar" numbers undermines the analytical value GA4 provides.
- Not setting data retention to 14 months: The 2-month default severely limits Exploration reports. Change this immediately during setup.
- Creating too many custom events without a plan: GA4 has limits (500 unique event names per property). Each custom event should serve a defined analytical purpose.
Next Steps
Once your GA4 implementation is solid, the next step is acting on the data. Start with our website traffic analysis guide to learn how to interpret your GA4 data for growth decisions, or explore our user behavior analytics guide for advanced behavioral analysis techniques that go beyond what GA4 provides out of the box.
For teams ready to take engagement optimization seriously, tools like Sentinel's Dwell Time Bot and Bounce Rate Bot integrate with your existing analytics data to surface actionable recommendations that standard GA4 reports alone cannot provide.
Frequently Asked Questions
Yes, GA4 is completely free for most businesses. Google Analytics 360, the paid enterprise version, starts at approximately $50,000 per year and offers higher data limits, SLAs, and advanced features. The free version supports up to 25 million events per day and includes BigQuery export at no additional cost.
Standard reports may take 24-48 hours to fully process data. The Realtime report shows data within seconds. Explorations rely on processed data and may have a similar 24-48 hour delay. BigQuery daily exports typically arrive within 24 hours of the date boundary.
Yes. Running GA4 alongside tools like Adobe Analytics, Matomo, or Mixpanel is common. Each platform has its own tracking code, and they operate independently. The main consideration is page load impact—each additional analytics script adds some loading time, so monitor your site speed if running multiple platforms.
Discrepancies between analytics platforms are normal and expected. They arise from differences in how each tool defines sessions, handles bot filtering, processes consent settings, counts users (cookie-based vs. device-based), and applies sampling. A 5-15% variance between platforms is typical and acceptable.
GA4 handles SPAs better than Universal Analytics because Enhanced Measurement tracks history change events automatically. When a SPA updates the URL via the History API (pushState or replaceState), GA4 fires a page_view event. For SPAs using hash-based routing, you may need to configure this manually in Enhanced Measurement settings or use GTM with custom triggers.
Ready to optimize your search performance?
Join thousands of SEO professionals using Sentinel. Start your 7-day free trial today.
Start Free TrialRelated tools, articles & authoritative sources
Hand-picked internal pages and external references from sources Google itself considers authoritative on this topic.
Related free tools
- PageSpeed & Core Web Vitals Google Lighthouse scores: performance, SEO, accessibility, best practices.
- On-Page SEO Analyzer Full on-page SEO audit: title, meta, headings, schema, OG tags.
- Site Validator (robots, sitemap, SSL, headers) Validate robots.txt, sitemap.xml, SSL certificate, and security headers.
Related premium tools
- Dwell Time Bot Increase time on page, session duration, and engagement signals with realistic multi-source browsing sessions
- Bounce Rate Bot Drop competitor rankings with sustained pogo-stick sessions from multi-source SERP research