Skip to main content
RedClaw
Back to Blog
analytics

GA4 Setup in 30 Minutes: Events, Conversions & Reporting (2026)

RedClaw Performance Team
3/16/2026
35 min read

GA4 Setup in 30 Minutes: Events, Conversions & Reporting (2026)

Looking to master GA4 setup? This comprehensive Google Analytics 4 tutorial covers everything from initial configuration to advanced tracking implementation. Whether you're migrating from Universal Analytics or setting up GA4 for the first time, this guide provides step-by-step instructions for complete GA4 implementation.

TL;DR — Set up GA4 in 30 minutes with these 6 steps:

  1. Create property — Admin > Create Property (3 min)
  2. Install trackingGTM tag or gtag.js (5 min)
  3. Configure events — Mark purchase + lead as conversions (5 min)
  4. Set up audiences — Create 3 core audiences for remarketing (7 min)
  5. Build first report — Acquisition overview + date comparison (5 min)
  6. Verify — Realtime report + DebugView (5 min) Don't skip: Enhanced Measurement, Data Retention (14 months), and Google Signals Reading time: 25 min | Last updated: March 2026

Don't want to DIY? Let our analytics team set up GA4 for you — correctly configured events, conversions, and dashboards, done in 48 hours. Starting at $299.

Google Analytics 4 (GA4) represents a fundamental shift in how businesses approach web analytics tracking. The GA4 Help Center is the official reference, but this guide distills the practical steps you actually need. Unlike its predecessor, GA4 uses an event-based data model that provides more flexible, comprehensive insights into user behavior across websites and mobile applications. This complete GA4 setup guide will walk you through every aspect of implementation, ensuring you capture the data needed for informed decision-making.

Ready to implement GA4? Skip to our step-by-step setup instructions and start tracking today.

Table of Contents

  1. Understanding GA4
  2. GA4 vs Universal Analytics Comparison
  3. Initial Setup
  4. Data Collection Configuration
  5. Event Tracking Setup
  6. E-commerce Tracking
  7. Industry-Specific GA4 Setup
  8. Conversion Configuration
  9. Audience and Reporting
  10. Integrations and Advanced Features
  11. Testing and Validation
  12. GA4 Best Practices
  13. FAQ

GA4 Setup in 30 Minutes — Step-by-Step Checklist
GA4 Setup in 30 Minutes — Step-by-Step Checklist

Understanding GA4

What is Google Analytics 4?

Google Analytics 4 is the next-generation analytics platform from Google, designed for the privacy-first, cross-platform digital landscape. Released in October 2020 and made the default property type in 2023, GA4 replaces Universal Analytics with a fundamentally different approach to data collection and analysis.

Core GA4 Philosophy:

  • Event-based tracking: Every interaction is an event
  • User-centric measurement: Focus on individual user journeys
  • Privacy by design: Built for a cookieless future
  • Cross-platform unified: Web and app data in one property
  • AI-powered insights: Machine learning for predictions and anomalies

Why GA4 Matters for Your Business

The transition to GA4 isn't just a platform upgrade—it's a strategic necessity for modern analytics:

Business ImpactGA4 Advantage
Privacy ComplianceBuilt-in consent mode and data deletion controls
Cross-Device TrackingUnified user identification across platforms
Predictive AnalyticsAI-powered purchase and churn predictions
Flexible ReportingCustom explorations instead of rigid reports
Future-ProofingDesigned for the post-cookie era

GA4 vs Universal Analytics Comparison

Understanding the differences between GA4 and Universal Analytics is crucial for successful migration and implementation.

Data Model Comparison

FeatureUniversal AnalyticsGoogle Analytics 4
Data ModelSession-basedEvent-based
User TrackingClient ID (cookies)Multiple identifiers (User ID, Device ID, Modeling)
Cross-PlatformRequires separate propertiesNative unified tracking
Machine LearningLimited automated insightsBuilt-in predictive metrics
Reporting InterfacePre-defined reportsFlexible Explorations + standard reports
Data Retention26-50 months (configurable)2-14 months (standard)
Hit TypesPageview, event, transaction, timingAll interactions are events
Bounce RateTraditional bounce rateEngagement rate (inverted metric)
GoalsUp to 20 goals per viewUnlimited conversions
E-commerceEnhanced Ecommerce pluginBuilt-in e-commerce events

Key GA4 Concepts for Implementation

Event-Based Model: In GA4, everything is an event. This unified approach simplifies tracking:

Universal AnalyticsGA4 Equivalent
Pageviewpage_view event
Event (category/action/label)Custom event with parameters
Transactionpurchase event
Social interactionshare event
User timingCustom event with timing parameter

User Identification Hierarchy:

GA4 User Identification Priority:
1. User ID (signed-in users) - Most accurate
2. Google Signals (signed-in Google users)
3. Device ID (first-party cookies)
4. Modeling (for unidentifiable users) - Privacy-safe estimation

Data Streams: GA4 organizes data collection through streams:

  • Web Stream: Websites and web applications
  • iOS Stream: Apple mobile applications
  • Android Stream: Android mobile applications

🔗 Related: Google Tag Manager Setup Guide - Learn how to implement GA4 through GTM for maximum flexibility.

Initial Setup

GA4 Setup Flow — Property to Conversions
GA4 Setup Flow — Property to Conversions

Creating Your GA4 Property

Follow these steps to create your Google Analytics 4 property:

Step 1: Account and Property Setup

  1. Navigate to analytics.google.com
  2. Click the gear icon (Admin) in the bottom left
  3. In the Property column, click "Create Property"
  4. Enter your property name (typically your business name)
  5. Select your reporting time zone
  6. Choose your currency for revenue reporting
  7. Click "Next"

Step 2: Business Information Configuration

  1. Select your industry category from the dropdown
  2. Choose your business size (number of employees)
  3. Select your intended use cases for GA4:
    • Measure customer engagement
    • Optimize advertising ROI
    • Analyze user behavior
    • Improve user experience
  4. Click "Create" to finalize the property

Step 3: Data Stream Configuration

  1. Select your platform type:
    • Web: For websites and web apps
    • iOS: For Apple mobile applications
    • Android: For Android mobile applications
  2. For web streams:
    • Enter your website URL
    • Enter your stream name
    • Enable Enhanced Measurement (recommended)
  3. Click "Create stream"
  4. Copy your Measurement ID (G-XXXXXXXXXX format)

Installing GA4: Three Methods

Choose the installation method that best fits your technical setup:

Method 1: Global Site Tag (gtag.js)

Direct implementation for simple setups:

<!-- Google tag (gtag.js) - Place in <head> of all pages -->


Pros: Simple implementation, no additional tools needed Cons: Harder to maintain, requires code changes for updates

Method 2 (Recommended): GA4 via Google Tag Manager — Complete Walkthrough

Google Tag Manager (GTM) is the professional approach for scalable tracking. It separates your tracking configuration from your website code, meaning marketers can add, modify, or remove tracking tags without waiting for a developer. Here is the complete step-by-step process.

Step 1: Create a GTM Account and Container Go to tagmanager.google.com and click "Create Account." Enter your company name, select your country, enter a container name (typically your website URL), and select "Web" as the target platform. Accept the Terms of Service.

Step 2: Install the GTM Snippet on Your Website GTM gives you two code snippets. Place the first snippet (<script> tag) as high in the <head> section as possible. Place the second snippet (<noscript> tag) immediately after the opening <body> tag. For Next.js applications, add the script tag in your root layout file using the next/script component with strategy="afterInteractive", and add the noscript iframe in the body. For WordPress, use a plugin like "Insert Headers and Footers" or add the code to your theme's header.php.

Step 3: Create the GA4 Configuration Tag In your GTM workspace, click "Tags" > "New." Name the tag "GA4 - Configuration." Click "Tag Configuration" and select "Google Analytics: GA4 Configuration." Enter your Measurement ID (G-XXXXXXXXXX format — find it in GA4 under Admin > Data Streams). Set the trigger to "All Pages" (this fires the tag on every page load). Save the tag.

Step 4: Create Custom Event Tags For tracking specific interactions beyond what Enhanced Measurement covers, create event tags. Click "Tags" > "New" > "Google Analytics: GA4 Event." Set the Configuration Tag to your GA4 Configuration tag. Enter the event name (e.g., cta_click) and add event parameters as needed (e.g., button_text: {{Click Text}}). Create a trigger — for example, a Click trigger that fires when users click elements matching a specific CSS selector like .cta-button. This approach lets you track any interaction without touching your website code.

Step 5: Preview, Test, and Publish Click "Preview" to open GTM's debug mode. Navigate your website and verify that tags fire correctly — you should see your GA4 Configuration tag firing on every page, and event tags firing on the appropriate interactions. Check GA4's DebugView (Configure > DebugView) to confirm events arrive with the correct parameters. Once verified, go back to GTM, click "Submit," add a version name and description, and publish.

Common GTM Troubleshooting:

  • Tags not firing: Check your trigger conditions — CSS selectors are case-sensitive and must match exactly
  • Duplicate page views: Ensure you only have one GA4 Configuration tag with "Send a page view event" enabled
  • Events not appearing in GA4: Wait 24-48 hours for standard reports; use DebugView for immediate verification
  • Next.js SPA issues: Enable the "Page changes based on browser history events" Enhanced Measurement setting to track client-side route changes

Pros: Centralized management, version control, no code changes needed for new tags Cons: Requires GTM knowledge, additional tool to manage

Installation MethodBest ForComplexityFlexibility
gtag.jsSimple websites, single-page sitesLowLimited
Google Tag ManagerComplex sites, frequent updatesMediumHigh
CMS IntegrationWordPress, Shopify, Wix usersLowMedium

Method 3: CMS Integration

WordPress GA4 Setup:

  • Install GA plugin (Site Kit by Google, MonsterInsights, or ExactMetrics)
  • Connect your Google account
  • Select your GA4 property
  • Verify tracking in Real-time reports

Shopify GA4 Setup:

  • Go to Online Store → Preferences
  • Enter your GA4 Measurement ID in the Google Analytics section
  • Enable Enhanced Ecommerce for transaction tracking

Wix GA4 Setup:

  • Marketing & SEO → Marketing Integrations
  • Connect Google Analytics
  • Enter your Measurement ID

📊 Need help with GA4 setup? Our team provides professional GA4 implementation services for businesses of all sizes.

GA4 Configuration Checklist

Basic Setup Verification:

  • GA4 property created with correct time zone and currency
  • Data stream configured for your platform
  • Measurement ID noted (G-XXXXXXXXXX format)
  • Tracking code installed on all pages
  • Real-time data appearing in reports
  • Enhanced Measurement enabled

Advanced Setup Preparation:

  • Cross-domain tracking requirements identified
  • User ID implementation strategy planned
  • Custom dimensions and metrics documented
  • Data retention settings configured
  • Internal traffic filters created
  • Google Signals enabled (where compliant)

Data Collection Configuration

Enhanced Measurement Setup

Enhanced Measurement automatically tracks common user interactions without additional code:

Enhanced FeatureDescriptionWhen It FiresRecommended Setting
Page viewsAutomatic page trackingOn every page load✅ Enable
ScrollsScroll depth trackingWhen user reaches 90% depth✅ Enable
Outbound clicksExternal link clicksClick on link to external domain✅ Enable
Site searchInternal search trackingSearch query parameter detected✅ Enable
Video engagementYouTube video interactionsPlay, pause, complete events✅ Enable
File downloadsDownload link trackingClick on common file extensions✅ Enable
Form interactionsForm engagement trackingForm start and submit events⚠️ Review*
Page changesSingle-page app navigationHistory API changes✅ Enable for SPAs

*Form interactions may generate excessive events on some sites—test before enabling in production.

Configure Enhanced Measurement:

  1. Admin → Data Streams → Select your web stream
  2. Click the gear icon under "Enhanced measurement"
  3. Toggle features on/off as needed
  4. Click "Save"

Data Retention and Privacy Settings

Data Retention Configuration:

SettingOptionsRecommendation
Event Data Retention2 months, 14 months14 months (maximum)
Reset User DataOn request, NeverBased on privacy policy
User-ID Data2 months, 14 months14 months

To Configure: Admin → Data Settings → Data Retention

Privacy Controls:

  • Consent Mode: Respects user consent choices
  • Data Deletion: User-level data removal
  • IP Anonymization: Automatic in GA4
  • Ads Personalization: Configurable by region

Consent Mode v2 Setup (Required for EU Traffic)

If your website receives any traffic from the European Union, Consent Mode v2 is no longer optional — Google requires it for accurate measurement and continued access to advertising features like remarketing and conversion modeling. Here is what you need to know and how to set it up.

What is Consent Mode v2? Consent Mode is a framework that adjusts how Google tags behave based on the user's cookie consent choices. When a user declines cookies, Consent Mode sends cookieless pings to Google instead of dropping the user entirely. Google then uses machine learning to model the missing conversions and fill in the gaps. Version 2, released in late 2024, adds two new required consent signals: ad_user_data and ad_personalization, giving users more granular control.

Basic vs Advanced Mode:

  • Basic Mode: Google tags do not fire at all until the user grants consent. Simple to implement but you lose all data from users who decline — typically 30% to 50% of EU traffic.
  • Advanced Mode (Recommended): Google tags fire in a limited, cookieless state before consent. This sends anonymous pings that enable Google's behavioral modeling to recover approximately 70% of the data you would otherwise lose. No personal data is collected without consent.

GTM Setup Steps (Advanced Mode):

  1. Install a Consent Management Platform (CMP): Choose a Google-certified CMP. Cookiebot offers a free plan for sites under 100 pages and integrates natively with GTM. Other options include OneTrust, Usercentrics, and CookieYes.

  2. Set Default Consent State in GTM: Create a "Consent Initialization" tag (fires before all other tags) that sets the default consent state for your EU traffic:

gtag('consent', 'default', {
  'analytics_storage': 'denied',
  'ad_storage': 'denied',
  'ad_user_data': 'denied',
  'ad_personalization': 'denied',
  'wait_for_update': 500,
  'region': ['EU', 'EEA']
});
  1. Configure Consent Update: When the user interacts with your CMP banner and grants consent, your CMP fires a consent update that changes the relevant signals to "granted." Most certified CMPs handle this automatically through their GTM templates.

  2. Verify in GA4: Check Admin > Data Streams > your stream > "Consent settings" to confirm Consent Mode is active. In GA4 reports, you will see a "Consent" badge next to metrics where modeling is applied.

Data Impact Summary:

ModeEU Traffic Data RecoveryImplementation Effort
No Consent Mode~50-60% of EU data (only consenting users)None
Basic Mode~50-60% of EU data (same, but compliant)Low
Advanced Mode~85-90% of EU data (with modeling)Medium

For most businesses, Advanced Mode with Cookiebot (free tier) provides the best balance of compliance and data quality. If you need help with implementation, our tracking service includes Consent Mode v2 setup as part of the standard package.

Google Signals Configuration

Google Signals enables powerful cross-device tracking and audience features:

Benefits of Enabling Google Signals:

  • Cross-device user tracking
  • Demographics reporting (age, gender)
  • Interest category data
  • Remarketing audience creation
  • Enhanced advertising reporting

Enable Google Signals:

  1. Admin → Data Settings → Data Collection
  2. Click "Get Started" under Google Signals
  3. Accept terms of service
  4. Toggle "Enable Google Signals" to ON

Important Privacy Note: Google Signals requires user consent in many jurisdictions (GDPR, CCPA). Ensure your consent management platform is properly configured.

Data Filters Implementation

Internal Traffic Filter: Exclude your team's activity from reports:

  1. Define Internal Traffic:

    • Admin → Data Streams → Web Stream Details
    • Click "Configure Tag Settings"
    • Click "Show all" → "Define Internal Traffic"
    • Add IP addresses or IP ranges for your office/VPN
  2. Create Data Filter:

    • Admin → Data Settings → Data Filters
    • Click "Create Filter"
    • Filter Name: "Exclude Internal Traffic"
    • Filter Type: Internal traffic
    • Filter Operation: Exclude
    • Traffic Type: internal (matches your definition)

Developer Traffic Filter: Automatically exclude debug mode traffic:

  • Create filter for "Developer Traffic"
  • Set to exclude when "debug_mode" parameter is true

Event Tracking Setup

GA4 Event Type Hierarchy
GA4 Event Type Hierarchy

Automatically Collected Events

GA4 automatically tracks these events without configuration:

Event NameTrigger ConditionUse Case
page_viewPage loads or history state changesBasic traffic measurement
session_startNew session beginsSession counting
first_visitUser's first visit to propertyNew user identification
user_engagementUser engages with page (10+ seconds)Engagement measurement
scroll90% vertical scroll depthContent engagement
clickOutbound link clicksExternal navigation tracking
view_search_resultsSite search performedSearch behavior analysis
video_startVideo playback beginsVideo engagement start
video_completeVideo finishes playingVideo completion tracking
file_downloadFile download initiatedContent download tracking
form_startForm interaction beginsForm engagement start
form_submitForm successfully submittedForm completion tracking

Recommended Events for GA4

Implement these events for comprehensive tracking across common business scenarios:

E-commerce Events

// View item details
gtag('event', 'view_item', {
    currency: 'USD',
    value: 99.99,
    items: [{
        item_id: 'SKU_12345',
        item_name: 'Premium Widget Pro',
        item_category: 'Widgets',
        item_category2: 'Professional Grade',
        item_brand: 'WidgetCo',
        price: 99.99,
        quantity: 1
    }]
});

// Add to cart action
gtag('event', 'add_to_cart', {
    currency: 'USD',
    value: 99.99,
    items: [{
        item_id: 'SKU_12345',
        item_name: 'Premium Widget Pro',
        item_category: 'Widgets',
        price: 99.99,
        quantity: 1
    }]
});

// Begin checkout process
gtag('event', 'begin_checkout', {
    currency: 'USD',
    value: 199.98,
    coupon: 'SUMMER20',
    items: [{
        item_id: 'SKU_12345',
        item_name: 'Premium Widget Pro',
        price: 99.99,
        quantity: 2
    }]
});

// Complete purchase
gtag('event', 'purchase', {
    transaction_id: 'T_12345',
    affiliation: 'Online Store',
    value: 199.98,
    tax: 16.00,
    shipping: 10.00,
    currency: 'USD',
    coupon: 'SUMMER20',
    items: [{
        item_id: 'SKU_12345',
        item_name: 'Premium Widget Pro',
        item_category: 'Widgets',
        item_brand: 'WidgetCo',
        price: 99.99,
        quantity: 2
    }]
});

Lead Generation Events

// Lead form submission
gtag('event', 'generate_lead', {
    currency: 'USD',
    value: 50.00  // Estimated lead value
});

// Contact form submission
gtag('event', 'submit_form', {
    form_id: 'contact_form',
    form_name: 'Contact Us',
    form_destination: '/thank-you-contact'
});

User Engagement Events

// User registration
gtag('event', 'sign_up', {
    method: 'email'
});

// User login
gtag('event', 'login', {
    method: 'google'
});

// Content share
gtag('event', 'share', {
    method: 'facebook',
    content_type: 'article',
    item_id: 'article_123'
});

Custom Events in GA4

Create custom events for business-specific tracking needs:

When to Use Custom Events:

  • Business-specific user actions not covered by recommended events
  • Unique funnel stages in your user journey
  • Feature usage tracking for product analytics
  • A/B test variant tracking
  • Error and exception monitoring

Custom Event Implementation:

// SaaS trial start tracking
gtag('event', 'trial_started', {
    plan_type: 'premium',
    trial_length: '14_days',
    source: 'pricing_page',
    coupon_applied: 'TRIAL50'
});

// Feature usage tracking
gtag('event', 'feature_used', {
    feature_name: 'advanced_export',
    feature_category: 'reporting',
    user_tier: 'professional'
});

// Content engagement tracking
gtag('event', 'article_completed', {
    article_id: 'ga4-setup-guide',
    article_category: 'analytics',
    time_spent_seconds: 420,
    scroll_depth: 100
});

GA4 Event Naming Best Practices:

✅ Good❌ Avoid
trial_startedTrial Started (no spaces)
pricing_page_viewpricingPageView (use snake_case)
video_playedvideoPlayed (be consistent)
error_occurrederror (be descriptive)
button_clickclick (specify context)

Related: Event Tracking Strategy Guide - Learn how to design a comprehensive event tracking plan for your business.

Not sure which events to track for your business? Every industry has different "money events." Book a free event mapping session — we'll identify your top 10 events based on your business model.

E-commerce Tracking

Complete E-commerce Event Funnel

Track the entire customer journey with these GA4 e-commerce events:

EventFunnel StageRequired ParametersOptional Parameters
view_item_listBrowse/Searchitems, item_list_nameitem_list_id
select_itemProduct Selectionitems, item_list_nameindex
view_itemProduct Detailitems-
add_to_cartAdd to Cartitems, value, currency-
add_to_wishlistWishlistitems, value, currency-
remove_from_cartCart Removalitems, value, currency-
view_cartCart Reviewitems, value, currency-
begin_checkoutCheckout Startitems, value, currencycoupon
add_shipping_infoShipping Selecteditems, value, shipping_tier-
add_payment_infoPayment Selecteditems, value, payment_type-
purchaseOrder Completetransaction_id, items, valuetax, shipping, coupon
refundOrder Refundedtransaction_iditems, value

Item Parameter Specifications

Standard Item Structure for GA4:

{
    item_id: 'SKU_12345',              // Required: Unique product ID
    item_name: 'Premium Widget Pro',    // Required: Product name
    item_category: 'Widgets',           // Recommended: Primary category
    item_category2: 'Professional',     // Optional: Sub-category
    item_category3: 'Power Tools',      // Optional: Third level
    item_category4: 'Equipment',        // Optional: Fourth level
    item_category5: 'Industrial',       // Optional: Fifth level
    item_brand: 'WidgetCo',             // Recommended: Brand name
    price: 99.99,                       // Required: Unit price
    quantity: 2,                        // Required for purchase: Quantity
    item_variant: 'Blue / Large',       // Optional: Variant details
    item_list_name: 'Search Results',   // Optional: List context
    item_list_id: 'search_results_001', // Optional: List identifier
    index: 1,                           // Optional: Position in list
    coupon: 'WIDGET10',                 // Optional: Item-level coupon
    discount: 10.00,                    // Optional: Item-level discount
    affiliation: 'Partner Store',       // Optional: Product affiliation
    location_id: 'CHI_001',             // Optional: Store location
    item_group_id: 'WGT_123'            // Optional: Product group
}

Purchase Event Complete Example

gtag('event', 'purchase', {
    // Transaction Details
    transaction_id: 'T_12345',          // Required: Unique order ID
    affiliation: 'Online Store',         // Optional: Store name
    value: 299.97,                       // Required: Total value
    tax: 24.00,                          // Optional: Tax amount
    shipping: 15.00,                     // Optional: Shipping cost
    currency: 'USD',                     // Required: Currency code
    coupon: 'SPRING20',                  // Optional: Order coupon
    
    // Items Array
    items: [
        {
            item_id: 'SKU_12345',
            item_name: 'Premium Widget',
            item_category: 'Widgets',
            item_brand: 'WidgetCo',
            price: 99.99,
            quantity: 2,
            item_variant: 'Blue'
        },
        {
            item_id: 'SKU_67890',
            item_name: 'Widget Accessory Kit',
            item_category: 'Accessories',
            item_brand: 'WidgetCo',
            price: 49.99,
            quantity: 2,
            coupon: 'ACCESSORY5'
        }
    ]
});

📊 Need e-commerce tracking help? Get expert GA4 e-commerce implementation for your online store.

Industry-Specific GA4 Setup

Every industry has different "money events" and reporting needs. Here is how to configure GA4 for the four most common business models we work with.

For E-commerce (Shopify / WooCommerce)

E-commerce GA4 setup centers on the purchase funnel. The Enhanced E-commerce events described above (view_item, add_to_cart, begin_checkout, purchase) are your foundation, but platform-specific implementation differs significantly.

Shopify: Native GA4 integration is available under Online Store > Preferences, but it only tracks basic purchase events. For the complete funnel (view_item_list, add_to_cart, begin_checkout), you need either the Shopify Pixel API (for Checkout Extensibility stores) or a third-party app like Elevar or Analyzify. Key events to prioritize: purchase (with full item arrays and transaction values), add_to_cart (for cart abandonment audiences), and view_item (for retargeting product viewers).

WooCommerce: Use the Google Listings & Ads plugin or MonsterInsights for automatic e-commerce event tracking. WooCommerce's advantage is deeper GTM integration — you can push data layer events from WooCommerce hooks directly to GTM, giving you full control over event parameters. Make sure to include item_category in all events so you can analyze performance by product category in GA4's monetization reports.

Key Metric to Watch: E-commerce purchase rate (total purchasers / total users). Healthy benchmarks vary by industry — check our industry benchmarks for your vertical.

For SaaS / Subscription

SaaS businesses need to track the entire user lifecycle from first visit through trial, activation, subscription, and expansion.

Core Events:

  • sign_up — Free account creation (include method parameter: google, email, github)
  • trial_started — Trial activation (include plan_type and trial_length)
  • feature_used — Key feature engagement (include feature_name parameter)
  • subscription_purchased — Paid conversion (include value, currency, plan_type)
  • subscription_renewed / subscription_cancelled — Retention tracking

User Properties: Set user-scoped custom dimensions for plan_type, account_age_days, company_size, and user_role. These let you segment reports by customer tier and identify which segments convert and retain best.

Measurement Protocol: For server-side events like subscription renewals and cancellations (which happen through your billing system, not the website), use the GA4 Measurement Protocol to send events from your backend directly to GA4.

For Lead Generation

Lead generation businesses convert website visitors into qualified leads through forms, phone calls, and chat interactions.

Core Events:

  • generate_lead — Primary form submission (set value to your average lead value based on close rate)
  • phone_call — Click-to-call interactions (use tel: link click trigger in GTM)
  • chat_started — Live chat or chatbot engagement
  • content_download — Gated content downloads (whitepapers, ebooks)
  • demo_requested — High-intent demo or consultation requests (assign higher value)

Lead Value Setup: Assign monetary values based on your average close rate. If your average deal size is $10,000 and your lead-to-customer rate is 5%, each lead is worth $500. Pass this value with the generate_lead event so GA4 can calculate ROAS correctly. Use our ROAS calculator to determine your optimal lead values.

Offline Conversion Import: Many leads convert offline (via sales calls or in-person meetings). Use GA4's Measurement Protocol or the Google Ads offline conversion import to feed these conversions back into your analytics. This closes the loop between marketing spend and actual revenue.

For iGaming

iGaming has unique tracking requirements due to regulatory constraints and the multi-step player journey from registration through deposit and gameplay.

Core Events:

  • sign_up — Player registration (required parameters: method, country)
  • first_deposit — First-time deposit event (include value, currency, payment_method)
  • deposit — Subsequent deposits (same parameters as first_deposit)
  • game_played — Game session start (include game_type, game_name)
  • withdrawal — Player withdrawal request

Compliance Notes: Many jurisdictions restrict tracking and retargeting for gambling products. Ensure your Consent Mode implementation covers gambling-specific regulations in your target markets. Some territories require explicit opt-in before any analytics tracking, which is stricter than standard GDPR requirements.

User-ID Implementation: iGaming sites should implement User-ID tracking from day one. Players log in frequently across devices, and without User-ID, GA4 creates duplicate user profiles that inflate your active player counts and distort LTV calculations. Use Google Signals as a fallback for users who are not logged in.

For more iGaming-specific strategies, explore our iGaming retargeting guide and industry benchmark data.

Conversion Configuration

Setting Up GA4 Conversions

Conversions in GA4 are events marked as important business goals:

How to Mark Events as Conversions:

  1. Navigate to Admin → Events
  2. Locate the event you want to convert
  3. Toggle the "Mark as conversion" switch
  4. The event appears in Conversions reports within 24 hours

Common GA4 Conversion Events:

Business TypeRecommended Conversions
E-commercepurchase, add_to_cart, begin_checkout
Lead Generationgenerate_lead, submit_form, phone_call
SaaStrial_started, subscription_purchased, upgrade
Content/Mediasubscription_signup, content_engagement
Marketplacelisting_created, seller_signup, transaction_complete

Conversion Value Configuration

Assign monetary values to non-purchase conversions for ROAS analysis:

// Lead generation with estimated value
gtag('event', 'generate_lead', {
    currency: 'USD',
    value: 150.00  // Average lead value based on close rate
});

// Trial start with projected LTV
gtag('event', 'trial_started', {
    currency: 'USD',
    value: 500.00  // Projected lifetime value
});

Attribution Settings in GA4

Configure how conversion credit is assigned:

Attribution Models:

  • Data-driven: Algorithmic attribution (recommended)
  • Paid and organic last click: Last non-direct touch
  • Cross-channel last click: Last touch across all channels

Conversion Windows:

Conversion TypeDefault WindowRecommended
Acquisition events30 days30 days
All other events90 days90 days
Engaged sessions1 day1 day

Configure Attribution: Admin → Attribution Settings → Reporting Attribution Model

Tracking conversions but they don't match your CRM? That's the #1 analytics problem we fix. Get a free conversion audit — we'll cross-reference your GA4 data with actual sales.

Audience and Reporting

GA4 Dashboard Navigation Guide
GA4 Dashboard Navigation Guide

GA4 Audience Creation

Built-in Audiences:

  • All users
  • Purchasers
  • 7-day active users
  • 30-day active users

Custom Audience Types:

Audience TypeUse CaseExample
Event-basedUsers who performed specific actionsAdded to cart but didn't purchase
Dimension-basedUsers with specific attributesMobile users from United States
Sequence-basedUsers who performed actions in orderViewed pricing, then signed up
PredictiveML-powered future behaviorLikely 7-day purchasers

High-Intent Audience Example:

Audience Name: Cart Abandoners
Conditions:
- Event: add_to_cart (in last 14 days)
- AND: Event: purchase (in last 14 days) = 0
Membership Duration: 30 days

GA4 Reporting Setup

Standard Reports Overview:

Report CategoryKey ReportsPurpose
AcquisitionTraffic acquisition, User acquisitionUnderstand how users find you (pair with UTM parameters for accurate attribution)
EngagementEvents, Conversions, Pages and screensMeasure user interaction
MonetizationE-commerce purchases, In-app purchasesTrack revenue metrics
RetentionRetention, CohortsAnalyze user return behavior
DemographicsDemographic details, Tech detailsUser characteristics

Exploration Reports:

Exploration TypeBest ForKey Features
Free FormCustom analysisDrag-and-drop dimensions/metrics
Funnel ExplorationConversion analysisVisualize drop-off points
Path ExplorationUser journey mappingSee navigation sequences
Cohort ExplorationRetention analysisGroup by acquisition date
User ExplorationIndividual user analysisDrill into specific users
Segment OverlapAudience comparisonVenn diagram visualization

Key GA4 Metrics to Monitor

Acquisition Metrics:

  • Users (total unique users)
  • New users (first-time visitors)
  • Sessions (engaged sessions)
  • Sessions per user (engagement frequency)

Engagement Metrics:

  • Average engagement time (time on site)
  • Engaged sessions (10+ seconds or conversion)
  • Engagement rate (percentage of engaged sessions)
  • Events per session (interaction depth)

Monetization Metrics:

  • Total revenue (all revenue sources)
  • Purchases (transaction count)
  • Average purchase revenue (AOV)
  • E-commerce purchase rate (conversion rate)

Retention Metrics:

  • Returning users (previous visitors)
  • User retention by cohort (return rates)
  • Lifetime value (total user value)

Integrations and Advanced Features

Google Ads Integration

Linking GA4 to Google Ads is one of the highest-value integrations you can set up. For detailed instructions, see Google's official GA4 and Google Ads linking guide.

Linking GA4 to Google Ads:

  1. GA4: Admin > Product Links > Google Ads Links
  2. Click "Link" and select your Google Ads account
  3. Enable auto-tagging for accurate attribution
  4. Import GA4 conversions to Google Ads
  5. Import GA4 audiences for remarketing

Benefits of Integration:

  • GA4 audiences available in Google Ads for media buying optimization
  • Conversion import for bidding optimization
  • Cross-platform reporting
  • Enhanced attribution modeling

BigQuery Export Setup

BigQuery Export unlocks raw event-level data for advanced analysis beyond what GA4's interface can provide.

Configure BigQuery Link:

  1. Admin > BigQuery Links
  2. Click "Link" and select your GCP project
  3. Configure data streams to export
  4. Choose export frequency (daily or streaming)
  5. Set data location

BigQuery Use Cases:

  • Raw event-level data analysis
  • Custom attribution modeling
  • Data warehousing and backup
  • Machine learning model training
  • Advanced SQL-based reporting

Measurement Protocol (Server-Side)

Send events server-to-server for enhanced reliability:

curl -X POST \
  'https://www.google-analytics.com/mp/collect?measurement_id=G-XXXXXXXXXX&api_secret=YOUR_API_SECRET' \
  -H 'Content-Type: application/json' \
  -d '{
    "client_id": "1234567890.1234567890",
    "user_id": "user_12345",
    "timestamp_micros": "1234567890000000",
    "events": [{
        "name": "purchase",
        "params": {
            "transaction_id": "T_12345",
            "value": 99.99,
            "currency": "USD",
            "items": [{
                "item_id": "SKU_12345",
                "item_name": "Product Name",
                "price": 99.99,
                "quantity": 1
            }]
        }
    }]
  }'

Custom Dimensions and Metrics

Scope Types:

ScopeDescriptionExample
User-scopedPersistent across sessionsMembership tier, Customer ID
Event-scopedSpecific to individual eventsError code, Feature flag
Item-scopedSpecific to e-commerce itemsProduct margin, Supplier

Create Custom Definitions:

  1. Admin → Custom Definitions
  2. Click "Create custom dimension" or "Create custom metric"
  3. Define scope, name, and description
  4. Register the event parameter

Cross-Domain Tracking

Configuration for Multiple Domains:

gtag('config', 'G-XXXXXXXXXX', {
    'linker': {
        'domains': [
            'example.com',
            'shop.example.com',
            'checkout.example.com',
            'blog.example.com'
        ]
    }
});

Requirements:

  • Same GA4 property across domains
  • Consistent linker configuration
  • Proper cookie settings

Testing and Validation

DebugView for Real-Time Testing

DebugView shows events in real-time as you test:

Access DebugView: Configure > DebugView

Enable Debug Mode:

// Method 1: URL parameter
https://example.com/?_dbg=1

// Method 2: GTM preview mode
Enable preview and debug

// Method 3: gtag configuration
gtag('config', 'G-XXXXXXXXXX', { 'debug_mode': true });

// Method 4: Chrome extension
Use Google Analytics Debugger extension

DebugView Features:

  • Real-time event stream
  • Parameter inspection
  • User property changes
  • Debug device selector

GA4 Testing Checklist

Pre-Launch Testing:

  • Page views firing on all page types
  • Enhanced measurement events working
  • Custom events triggering correctly
  • E-commerce events with proper parameters
  • Conversion events marked correctly
  • User ID passing when available
  • Cross-domain tracking functioning
  • Internal traffic excluded

Post-Launch Validation:

  • Real-time reports showing data
  • Standard reports populating
  • Conversion counts match backend
  • Revenue figures accurate
  • Audience building correctly

Common GA4 Issues and Solutions

IssueCauseSolution
No data in reportsTag not firingCheck installation, verify Measurement ID
Missing eventsIncorrect triggerTest in DebugView, verify event code
Incorrect valuesData layer issuesValidate data layer, check variable mapping
Duplicate eventsMultiple triggersAudit GTM triggers, remove duplicates
Cross-domain issuesLinker not configuredAdd domains to linker configuration
User ID not workingWrong scopeEnsure user_id is set before config

🔗 Related: GA4 Troubleshooting Guide - Detailed solutions for common GA4 implementation issues.

GA4 Best Practices

Implementation Best Practices

  1. Use Google Tag Manager: Centralize tracking management
  2. Document Your Events: Maintain an event tracking plan
  3. Test Before Deploying: Always use DebugView and preview mode
  4. Start with Recommended Events: Use Google's standard events when possible
  5. Plan for Scale: Design naming conventions that scale
  6. Regular Audits: Review and clean up unused events
  7. Privacy First: Implement consent mode and respect user choices

Data Quality Best Practices

PracticeImplementation
Consistent NamingUse snake_case, lowercase only
Parameter StandardsDocument all parameters and values
Data ValidationValidate events in DebugView before launch
Regular MonitoringCheck reports weekly for anomalies
Version ControlTrack changes to tracking implementation
Team TrainingEnsure all stakeholders understand GA4

Migration Best Practices

If migrating from Universal Analytics:

  1. Run both properties simultaneously during transition
  2. Map UA events to GA4 equivalents
  3. Compare key metrics between platforms
  4. Update dashboards and reporting
  5. Train team on new interface
  6. Archive UA data before property deletion

📊 Ready to master GA4? Enroll in our comprehensive GA4 training program for your team.

FAQ

What is GA4 and why should I migrate from Universal Analytics?

GA4 (Google Analytics 4) is the latest version of Google Analytics that uses an event-based data model instead of session-based tracking. You should migrate because Universal Analytics was sunset in July 2023, and GA4 offers superior cross-platform tracking, machine learning capabilities, privacy-focused measurement, and better integration with Google's advertising products.

How do I set up GA4 for my website?

To set up GA4, create a new GA4 property in Google Analytics, configure your data stream (web, iOS, or Android), install the GA4 tracking code via gtag.js or Google Tag Manager, verify data collection in Real-time reports, and configure enhanced measurement settings for automatic event tracking.

What are the key differences between GA4 and Universal Analytics?

Key differences include: GA4 uses event-based tracking vs session-based in UA, GA4 has built-in cross-platform tracking, GA4 offers machine learning insights, UA had longer data retention by default, and GA4 provides more flexible reporting through Explorations instead of pre-defined reports.

How do I track events in GA4?

GA4 automatically tracks many events like page views, scrolls, and clicks through Enhanced Measurement. For custom events, use the gtag('event') command with event name and parameters, or configure events through Google Tag Manager. Recommended events include purchase, add_to_cart, sign_up, and generate_lead.

What is the GA4 Measurement ID and where do I find it?

The GA4 Measurement ID (format: G-XXXXXXXXXX) is your property's unique identifier. Find it in Admin → Data Streams → Select your stream → Measurement ID. This ID is required for installing GA4 on your website or app.

How do I set up e-commerce tracking in GA4?

Set up GA4 e-commerce by implementing the purchase event with transaction details, configure product view events (view_item, view_item_list), track cart actions (add_to_cart, remove_from_cart), monitor checkout funnel (begin_checkout, add_shipping_info, add_payment_info), and ensure all events include proper item parameters and currency values.

What are GA4 conversions and how do I configure them?

GA4 conversions are events you mark as important business actions. Configure them by going to Admin → Events, toggling 'Mark as conversion' for key events like purchase, generate_lead, or sign_up. Set conversion values for ROAS calculation and optimize attribution settings for accurate reporting.

How long does GA4 take to show data?

GA4 Real-time reports show data within minutes. Standard reports typically populate within 24-48 hours. Some features like predictive audiences require 28 days of data to activate. DebugView shows events instantly for testing purposes.

Can I use GA4 and Universal Analytics together?

Yes, you can run GA4 and Universal Analytics simultaneously using dual tracking. Install both tracking codes on your website to compare data during the transition period. This is recommended during migration to ensure data continuity.

What are the best practices for GA4 implementation?

Best practices include: implementing via Google Tag Manager for flexibility, setting up enhanced measurement for automatic events, creating a measurement plan with custom events, configuring data retention to 14 months, setting up internal traffic filters, enabling Google Signals for cross-device tracking, and regularly testing with DebugView.

Conclusion

Mastering GA4 setup is essential for modern digital analytics. This comprehensive Google Analytics 4 tutorial has covered everything from initial property creation to advanced tracking implementation, providing you with the knowledge needed for successful GA4 implementation.

Key Takeaways for GA4 Success:

  1. Event-Based Foundation: GA4's event-based model provides flexibility that session-based tracking cannot match
  2. Cross-Platform Unification: Track web and app users in a single property for complete journey visibility
  3. Privacy-First Design: GA4 is built for the cookieless future with privacy-centric measurement
  4. Machine Learning Integration: Leverage predictive metrics for proactive decision-making
  5. Ecosystem Connectivity: Seamless integration with Google Ads, BigQuery, and other Google products

Your Next Steps:

📊 Need expert help with GA4? RedClaw Performance provides professional GA4 setup, custom event tracking configuration, e-commerce implementation, and team training services. Contact us today for a free consultation.


Last Updated: March 16, 2026 | Author: RedClaw Performance Team

Related Resources:


Explore our tracking & analytics services →

Share:

Maximize Your Ad Budget ROI

From account setup to full-funnel tracking, we handle it all.

  • Dedicated account manager with real-time optimization
  • Full tracking infrastructure — every dollar accounted for
  • Cross-platform expertise: Meta, Google, TikTok

免費獲取您的廣告健檢報告

讓我們的專家分析您的廣告帳戶,找出浪費預算的關鍵問題。

100% 免費48 小時內回覆無綁約

📬 Subscribe to Our Newsletter

Weekly insights on ad strategies, industry trends, and practical tips. No fluff.

We never share your email. Unsubscribe anytime.