Analytics & Data

Google Analytics 4 for SaaS: The Complete Setup and Strategy Guide 2026

Set up GA4 correctly for your SaaS — from property configuration to advanced event tracking, conversion goals, user journey analysis and revenue reporting.

OmniRank Editorial TeamJanuary 25, 20268 min read

Google Analytics 4 is fundamentally different from Universal Analytics — not just an upgrade but a rebuilt measurement system designed for the multi-platform, cookieless, AI-driven measurement environment of 2026. For SaaS companies, GA4 offers the most detailed free measurement platform available, but only if you configure it correctly from the start.

Most SaaS teams install GA4 and accept the default configuration. The default setup measures pageviews and sessions reasonably well — but it misses the SaaS-specific events that matter most: trial signups, feature engagement, plan upgrades, and churn signals. This guide covers the complete GA4 setup for SaaS, from initial configuration to the advanced event tracking that reveals your actual user journey.

Why GA4 Is Different from Universal Analytics

The paradigm shift is from session-based to event-based measurement. In Universal Analytics, the primary unit was the session — a group of pageviews that occurred within a time window. In GA4, the primary unit is the event — any discrete interaction (page view, button click, form submission, video play) is an event.

This change enables:

  • User-level journey tracking across devices and platforms
  • Flexible event customisation without preset category/action/label taxonomy
  • BigQuery export for unlimited raw data analysis (free with GA4)
  • Predictive metrics (purchase probability, churn probability) powered by Google's ML
  • Cross-platform measurement across web and app from a single property

The trade-off is higher initial configuration complexity — GA4 measures nothing meaningful out of the box for SaaS. Setup is mandatory.

Setting Up GA4 for SaaS: Step by Step

Step 1: Create Your GA4 Property

Go to analytics.google.com → Admin → Create property. Select "Web" as the platform.

For SaaS companies: if you have a marketing site (yourdomain.com) and a separate app subdomain (app.yourdomain.com), you can either:

  • Create two separate GA4 properties (simpler, but split data)
  • Use a single property with cross-domain tracking configured (unified view, but requires additional setup)

For most early-stage SaaS, a single property with cross-domain configuration is recommended — it gives you a unified view of the user journey from landing page to app usage.

Step 2: Install the Tracking Code

GA4 uses the gtag.js Global Site Tag. Three installation methods:

Direct code installation (Next.js): Use the @next/third-parties package or a custom GoogleAnalytics component with next/script strategy afterInteractive. The Google Analytics component should be placed in your public-facing layout only — not in dashboard or admin layouts.

Google Tag Manager (recommended for teams): Install the GTM container snippet, then configure GA4 as a tag within GTM. GTM gives your marketing team the ability to add and modify tracking without code deployments.

Shopify / standard CMS: Most platforms have native GA4 integration via plugin or settings — use the platform-native integration to avoid duplicate installation.

Step 3: Configure Data Streams

After creating the property, create a Web Data Stream for your website. Note the Measurement ID (format: G-XXXXXXXXXX). Under Enhanced Measurement, enable:

  • Page views ✓
  • Scrolls ✓
  • Outbound clicks ✓
  • Site search (configure the query parameter, typically q or search) ✓
  • Video engagement ✓
  • File downloads ✓

Step 4: Set Up Conversion Events

In GA4, any event can be marked as a conversion. Navigate to Admin → Events → mark the following as conversions:

For SaaS, the essential conversion events are:

  • sign_up (registration completed)
  • trial_start (trial activated)
  • subscription_purchase (paid subscription started)
  • contact_form_submit (lead captured)
  • demo_request (demo scheduled)

These must first be fired as events (Step 3 of this guide) before they can be marked as conversions.

Step 5: Configure Key User Properties

User properties allow you to segment users by attributes like plan type, company size, or signup source. In Admin → Custom definitions → User properties, create:

  • user_plan (free / trial / starter / pro / agency)
  • user_account_age (days since signup — useful for cohort analysis)
  • user_has_website (boolean — segmenting users who have added a website)

Admin → Search Console Links → Link. This enables the Queries report in GA4, showing which organic search queries drive traffic and conversions — one of the most actionable reports available.

Admin → Google Ads Links → Link. Enables import of GA4 conversion events into Google Ads for bidding optimisation.

The 7 Key Events to Track for SaaS

These events must be implemented as custom GA4 events via your gtag call or GTM data layer push. They are not captured automatically.

sign_up — Fired on successful registration. Parameters: method (email / google / github).

trial_start — Fired when a user activates a trial. Parameters: plan_name, source (onboarding / billing / upgrade_prompt).

subscription_purchase — Fired on subscription confirmation. Parameters: plan_name, plan_price, currency.

feature_used — Fired when a core feature is first used. Parameters: feature_name. Fires once per feature per user (use localStorage flags to prevent re-firing). Track your 3-5 most important "activation" features.

invite_sent — Fired when a user invites a team member. Track virality and team adoption velocity.

plan_upgrade — Fired on plan upgrade. Parameters: from_plan, to_plan.

cancellation_initiated — Fired when a user starts the cancellation flow (even if they do not complete it). This event is a leading indicator of churn risk — users who start cancellation and do not convert to a retention offer are the highest-priority segment for intervention.

Setting Up Conversion Goals

After implementing the events above, mark sign_up, trial_start, subscription_purchase, demo_request, and contact_form_submit as conversions in GA4 Admin → Events.

For revenue tracking, configure the subscription_purchase event to pass value and currency parameters. GA4 will then populate the Revenue metric in monetisation reports — giving you actual revenue attribution by acquisition source.

Understanding the GA4 Reports for SaaS

Acquisition reports — How users find your site. The Traffic Acquisition report (Session source/medium) and User Acquisition report (First user source/medium) both matter. For SaaS, differentiate between first-touch (how users first discovered you) and last-touch (what drove the conversion session).

Engagement reports — How users interact with your site and app. For SaaS, pay particular attention to Events (which feature events fire most), Pages (which pages have high engagement time), and Conversions (which pages generate signups).

Monetisation reports — Revenue and transaction data. Populated once you pass value parameters with conversion events. Shows revenue by acquisition source, enabling true channel ROI calculation.

Retention reports — Cohort analysis and user retention curves. The User Retention report shows how many users return after their first visit. For SaaS, this correlates directly with product engagement — declining retention curves indicate onboarding or product satisfaction issues.

The User Journey Report: SaaS Gold

The Explore section of GA4 (not the standard reports) contains the Path Exploration tool — one of the most valuable reports for SaaS. It shows the actual sequence of pages and events that users follow, allowing you to see:

  • Most common paths from landing page to signup
  • Where users drop off in the trial activation flow
  • Which features activated users visit before upgrading

Build a custom path exploration starting at your signup event, going forward through your app, to identify the "golden path" — the feature usage sequence that correlates most strongly with plan upgrades and long-term retention.

Frequently Asked Questions

Can I import Universal Analytics historical data into GA4?

No — there is no official migration path for historical UA data into GA4. Your UA data remains accessible in your UA property (now read-only) for the foreseeable future. For GA4, your historical baseline starts from when you first installed it. This is why early GA4 installation is important — every month without it is data you will never have.

Does GA4 work without cookies?

GA4 is designed to work in a cookieless future via modelled data and Google Signals. However, in 2026, GA4 still uses cookies where available. Users who reject cookies or use private browsing are tracked with reduced accuracy. GA4's modelling fills some gaps, but consent-mode configuration is recommended for EU traffic.

How do I track free users vs paid users separately?

Use User Properties — specifically, push the user_plan property with your Supabase user's current plan every time they log in. Then create custom audiences in GA4 for each plan tier and use those audiences to filter reports or build remarketing segments.

Should I use GA4 or a dedicated product analytics tool?

For early-stage SaaS: GA4 is sufficient and free. For Series A and beyond: supplement GA4 with a product analytics tool (Mixpanel, Amplitude, PostHog) for deeper funnel analysis, cohort comparisons, and feature flag integration. The two tools serve different but complementary purposes.

How long before GA4 has enough data to be useful?

Pageview and session data appears immediately. Conversion data requires that conversions have occurred. For new properties, allow 30 days to accumulate enough data for meaningful trend analysis. Predictive metrics (churn probability, purchase probability) require 28+ days of data and sufficient event volume.

Set Up GA4 Correctly From Day One

GA4 mis-configuration is worse than no GA4 — it produces data you cannot trust, leading to incorrect decisions. Invest the time in proper setup: custom events for SaaS KPIs, conversion event marking, user properties for plan segmentation, and GSC integration. The data quality improvement is immediate.

OmniRank connects to GA4 automatically and surfaces organic search performance alongside your audit findings — or read the SEO ROI tracking guide to turn your GA4 setup into a revenue attribution machine.

#google analytics 4#ga4#saas analytics#conversion tracking#web analytics
OmniRank Editorial Team

OmniRank Editorial Team

SEO & AI Research Team

The OmniRank team combines expertise in AI, SEO, and SaaS growth to deliver actionable insights that help websites rank across Google, AI search engines, and LLM citation networks.

Start ranking on Google and AI platforms

Automated SEO audit, AI strategy, LLMO tracking, and daily rankings monitoring — all in one platform. Start your free 14-day trial.

No credit card required · 14-day free trial · Cancel anytime