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.
On This Page
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:
- Form Submissions: When someone fills out your contact or booking form.
- 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:
- Go to your GA4 Admin Panel and click Events (under Data Display).
- Click Create Event and name it
lead_contact_form. - Set the conditions:
event_nameequalspage_viewpage_locationcontainsthank-you(or your specific URL slug).
- 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.
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.
Keep Reading

Top 10 SEO Mistakes That Keep Small Businesses Stuck on Page 2
Why isn't your website ranking on Page 1? Learn the top 10 common SEO errors small businesses make and how to fix them today.

SEO vs. PPC: How to Balance Organic Search and Paid Google Ads
Should you focus on Google Ads or search engine optimization? Learn how to balance SEO and PPC budgets to maximize your local lead generation.

Brand SERP: How to Control What People See When They Search Your Business Name
When prospects search your brand name on Google, what do they see? Learn how to optimize your Brand SERP with clean sitelinks, reviews, and social profiles.
