Skip to main content
seoPublished July 8, 20263 min read

How to Measure SEO ROI: Setting Up GA4 Conversion Tracking for Leads

Stop guessing if your SEO is working. Learn how to configure Google Analytics 4 (GA4) conversion events to track contact form submits and phone calls.

Need This Done For You?

These guides are written for owners who want to understand the tradeoffs, then move fast. If you want the implementation handled for you, the contact flow keeps the handoff on-site and gets the first draft moving quickly.

Many business owners spend thousands of dollars on monthly SEO services without knowing if they are getting a single customer in return.

They look at reports showing "ranking increases" or "increased impressions," but rankings don't pay the bills. Leads and sales do.

To compute your return on investment (ROI) from SEO, you must track when search visitors actually contact you. Here is how to configure conversion tracking using Google Analytics 4 (GA4).


1. Defining Your Core Conversion Events

For local and service businesses, a conversion represents a prospective client raising their hand. You should track two primary events:

  1. Form Submissions: When someone fills out your contact or booking form.
  2. Click-to-Call / Click-to-Email: When someone on a mobile phone clicks your phone number or email address.

2. Tracking Form Submissions in GA4

There are two ways to track form submits:

  • Thank-You Page (Recommended for simplicity): When a form is successfully submitted, redirect the user to a unique page (e.g., devmellio.com/thank-you/). You can then create a GA4 event triggered by visits to that page.
  • Custom Event Listener (Recommended for Next.js/React): If your form submits without a page redirect, your code should fire a custom Javascript event (like window.gtag('event', 'form_submit')) directly when the submit button succeeds.

Setting Up a Page View Event in GA4:

  1. Go to your GA4 Admin Panel and click Events (under Data Display).
  2. Click Create Event and name it lead_contact_form.
  3. Set the conditions:
    • event_name equals page_view
    • page_location contains thank-you (or your specific URL slug).
  4. Save the event, then go to Conversions and toggle your new event on as a conversion.

3. Tracking Phone Calls and Email Clicks

Many local searchers find your site and click your phone number without ever filling out a form.

To track this, you must set up click listeners on your link tags. Ensure your phone links are structured using standard HTML tel protocols:

<a href="tel:+13035550199" id="phone-button">Call Us Now</a>

In GA4, the default Enhanced Measurement setting automatically captures outbound clicks, but to track specific phone number clicks, you can use Google Tag Manager (GTM) to trigger a custom event when links containing tel: are clicked.


4. Calculating Your SEO ROI

Once conversion events are tracking correctly, you can compute your metrics.

Step 1: Find Your Customer Value

  • Let's say your average client is worth $2,000.
  • Out of all leads who contact you, 25% buy.
  • Therefore, each raw contact lead is worth $500 to your business ($2,000 * 0.25).

Step 2: Track Organic Conversion Value

If Google Search Console or GA4 indicates that organic search traffic generated 10 leads this month:

  • Total Lead Value: 10 leads * $500 = $5,000.
  • SEO Spend: If you spent $1,500 on SEO this month:
  • ROI Formula: (Total Value - Spend) / Spend * 100
  • Your ROI: ($5,000 - $1,500) / $1,500 = 233% ROI.

Conversion Tracking Summary

  • Ensure Enhanced Measurement is active in GA4 settings.
  • Set up a custom event for contact form submissions.
  • Mark lead events as conversions in the GA4 dashboard.
  • Ensure all phone numbers use <a href="tel:..."> for mobile tracking.

Setting up tracking enables us to run data-backed optimization, which is exactly how our process-mining dashboard identifies drop-off trends. If you want high-performance tracking pipelines built directly into your website's codebase, contact DevMellio today.

DM

Michael Elliott

Full-Stack Developer • Founder, DevMellio

Denver-based builder focused on high-performance business websites, production web apps, and AI-enabled workflows. 83+ launches across healthcare, education, restaurants, professional services, and more.

Need a website for your business?

Share a few details first, then choose a time in the same flow.

Get My Free Website Plan

Prefer a direct calendar link? Book on Cal.com