Sample deliverable  /  GA4 + technical SEO audit

What GA4 is actually recording, checked hit by hit

This is the format of the first-week audit. It was run on a live Next.js directory site I operate (name withheld). Every finding is backed by captured GA4 network hits or the page source, and each fix comes with a way to confirm it worked.

Checks run
9
High
1
Minor
2
Passing
6

How the hits were captured

A clean headless Chrome session loaded the site, clicked an internal link, waited, then pressed Back. Every request to /g/collect was recorded and then blocked, so the test itself added nothing to the real reports. The same script runs again after each fix.

Findings

High

Every in-site page change is counted twice

On first load GA4 sends one page_view, which is correct. After that, each client-side navigation sends two page_view hits for the same URL. The code has its own route-change tracker, and the second hit matches GA4's Enhanced Measurement setting "Page changes based on browser history events" (to be confirmed in Admin). With both active, pageviews, views per session and engagement rate are inflated for any visitor who clicks around.

step                event       page
1 load /            page_view   /
2 click → /blog/    page_view   /blog/
2 click → /blog/    page_view   /blog/   ← duplicate
3 Back → /          page_view   /
3 Back → /          page_view   /        ← duplicate

FixKeep one source. The simplest is to switch off "browser history events" under Admin → Data streams → Enhanced measurement → Page views → Advanced, and leave the code tracker (it already skips the first load). The other option is to delete the code tracker and let GA4 handle it.

VerifyRe-run the capture and expect exactly one page_view per step. In DebugView, one event per page change.

Minor

Route tracker sends a Universal Analytics parameter

The manual page_view includes page_path, a leftover from Universal Analytics. GA4 ignores it and reads the URL from page_location. It does no harm today, but it suggests the tracker was copied from an older setup and is worth tidying up during the fix above.

FixSend page_location and page_title only.

Minor

Fallback push uses a Tag Manager-style object that gtag ignores

Contact-click tracking falls back to dataLayer.push({event: …}) if gtag is not ready. Without a GTM container nothing reads that format, so those clicks would be lost. In practice the gtag stub loads before the page is interactive, so the fallback rarely runs.

FixPush arguments the way the gtag stub does, or move click tracking into GTM (see the mapping below).

Pass

Lead conversion fires only after the server stores the lead

generate_lead is sent after the form's API call succeeds, not on button click, so failed or spam submissions are not counted. The payload carries no personal data (no name, email or phone).

Pass

Owner and internal traffic is excluded

Visits from the owner's devices set Google's official ga-disable-<ID> flag before config runs, so no hits are sent. This is more reliable than an IP filter on a home connection whose IP changes.

Pass

Tag loading does not block the page

gtag.js loads after the page has rendered, while a tiny stub queues any events fired before it arrives. Early clicks, such as opening a clinic's website in a new tab, are not dropped.

Pass

Canonical, title, headings

A self-referencing canonical, one <h1>, a unique title and a meta description of a reasonable length were found on the pages checked.

Pass

Structured data

WebSite and Organization JSON-LD is present on the home page and parses without errors.

Pass

Custom events are named consistently

About 20 custom events (search, filters, contact clicks, downloads, calculator use) follow GA4's lowercase_underscore naming. The recommended event generate_lead is used for the main conversion.

If the tracking moves into Google Tag Manager

When a site has many events, GTM makes later changes possible without a code deploy. The page only pushes a small dataLayer event, and each GA4 tag is configured in GTM, published as a container version, and checked in Preview mode before it goes live.

InteractionGTM triggerGA4 eventMark as key event
Lead form storedCustom event lead_savedgenerate_leadYes
Phone tap / revealClick: a[href^="tel:"], button textphone_clickYes
Outbound "Visit website"Click: link URL not on own domainwebsite_clickOptional
Site searchCustom event searchsearch + search_termNo
Page changeHistory change or code event, not bothpage_viewNo

What the audit on your site would add