What Is Google Analytics 4?
Google Analytics 4 (GA4) represents a fundamental shift in how web analytics works. Built on an event-based data model rather than the session-based approach of Universal Analytics, GA4 provides deeper insights into user behavior across websites and apps in a single property.
Whether you are setting up analytics for a new website or optimizing an existing GA4 implementation, this guide walks you through everything you need to know to collect meaningful data and drive informed business decisions.
Setting Up Your GA4 Property
Getting started with GA4 involves creating a property and installing the tracking code on your website.
Creating a GA4 Property
- Sign in to Google Analytics at analytics.google.com.
- Click Admin in the lower-left corner.
- Select Create Property and choose Google Analytics 4.
- Enter your property name, reporting time zone, and currency.
- Provide business details including industry category and business size.
- Select your business objectives to customize default reports.
Installing the Tracking Code
GA4 offers multiple installation methods depending on your technical setup.
- Google Tag Manager (recommended): Create a GA4 Configuration tag with your Measurement ID. This provides the most flexibility for managing tags without code changes.
- Global site tag (gtag.js): Add the JavaScript snippet directly to your website's header. Simple but requires code access for future modifications.
- CMS plugins: WordPress, Shopify, and other platforms offer GA4 plugins for simplified installation.
Understanding the Event-Based Model
GA4's event-based model treats every user interaction as an event, providing granular tracking capabilities.
Event Categories
| Category | Description | Examples |
|---|---|---|
| Automatically collected | Events tracked by default | page_view, first_visit, session_start |
| Enhanced measurement | Optional automatic events | scroll, outbound_click, file_download |
| Recommended events | Google-suggested events | purchase, sign_up, add_to_cart |
| Custom events | Business-specific events | form_submission, video_complete |
Enhanced Measurement Events
Enable enhanced measurement in your data stream settings to automatically track common interactions without additional code:
- Scrolls: Triggers when users scroll past 90% of a page.
- Outbound clicks: Tracks clicks on links leading to external domains.
- Site search: Captures search queries made within your website.
- Video engagement: Monitors YouTube video start, progress, and completion events.
- File downloads: Records when users download documents, PDFs, and other files.
Configuring Custom Events and Conversions
Custom events allow you to track interactions specific to your business objectives.
- Define your key actions: Identify the user interactions that matter most to your business, such as form submissions, demo requests, or account creations.
- Create events in GA4: Use the GA4 interface to create events based on existing events with conditions, or implement them through Google Tag Manager.
- Add event parameters: Include additional context with each event, such as form name, product category, or content type.
- Mark as conversions: Designate your most important events as conversions to track them prominently in reports.
Focus on tracking events that directly correlate with business outcomes. Tracking everything creates noise that obscures the insights that actually drive decisions.
Key GA4 Reports and Analysis
GA4 organizes its reporting interface around the user lifecycle.
Acquisition Reports
Understand how users find your website. The User Acquisition report shows first-touch attribution, while Traffic Acquisition reveals the sources driving individual sessions. Use these reports to evaluate marketing channel performance and allocate budget effectively.
Engagement Reports
Measure how users interact with your content. Key metrics include engagement rate (the inverse of bounce rate), average engagement time, and events per session. At Ekolsoft, we help clients configure engagement tracking that provides actionable insights into content performance.
Monetization Reports
Track revenue-generating activities including e-commerce purchases, in-app purchases, and ad revenue. GA4's enhanced e-commerce tracking provides detailed purchase funnel analysis from product views through checkout completion.
Explorations: Advanced Analysis
GA4's Explorations feature provides powerful analysis tools beyond standard reports.
- Funnel exploration: Visualize user journeys through defined step sequences to identify drop-off points.
- Path exploration: Discover the actual paths users take through your site, revealing unexpected navigation patterns.
- Segment overlap: Compare up to three user segments to find shared characteristics and behaviors.
- Cohort analysis: Group users by shared attributes and track their behavior over time.
- Free-form exploration: Build custom reports with drag-and-drop dimensions, metrics, and segments.
Privacy and Data Retention
GA4 is designed with privacy-first principles to align with regulations like GDPR and CCPA.
- Configure data retention settings appropriate for your business needs, choosing between 2 and 14 months.
- Implement consent mode to adjust tracking behavior based on user consent status.
- Use GA4's data deletion tools to honor right-to-deletion requests.
- Enable IP anonymization and consider using server-side tagging for additional privacy control.
Integrations and BigQuery
GA4's free BigQuery integration exports raw event data for advanced analysis, machine learning, and custom reporting. This capability, previously limited to GA360 users, enables organizations to combine analytics data with other business data sources. Companies like Ekolsoft leverage BigQuery integration to build custom dashboards and predictive models that provide insights beyond what the GA4 interface can deliver.