/
Visibility

Your analytics may have stopped tracking when you migrated your site

A site migration can look perfect and still quietly break your GA4 tracking. Here’s how it happens, how to fix it, and the checklist we run after every launch.

Bar chart of form submissions dropping to zero after a site migration, then recovering once tracking is restored

After we rebuilt a client’s site, their demo requests and form submissions dropped to zero in GA4. The leads were still arriving. The tracking wasn’t.

It’s one of the easiest things to lose in a migration, because nothing on screen looks broken. Here’s how it happens, how we fixed it, and the checklist we now run after every migration so it never goes unnoticed.

What went wrong

We pulled the GA4 event reports from before and after the migration and compared them side by side. Page views looked normal. The events that mattered most to the client, demo requests and form submissions, had simply stopped.

The next step was working out how each event was being sent. On this site, some events came from code in the theme and others came through Google Tag Manager. That split is common, and it’s exactly where things slip.

The cause: the Google Tag Manager container hadn’t been carried over from the old build to the new one. The new site looked right and worked right, so nothing seemed broken. The data just stopped arriving.

How we fixed it

We rebuilt the demo-request event so it fires when the form actually succeeds, not when someone clicks the button. A click only tells you someone tried. A success message tells you a lead came in.

We removed the old tracking snippet left over from the previous site, so it couldn’t fire alongside the new setup.

Then we confirmed it. In the browser’s developer tools, one page load sent exactly one hit to GA4, so nothing was being counted twice. Submitting the form showed the demo-request event going out on success.

While we were in the reports, we also spotted a page title from a spam domain with hundreds of views. It had nothing to do with the client’s real site, but junk like that inflates your numbers and hides real problems.

The checklist we run after every migration

Before the new site goes live:

  1. List every event and conversion you track today, and where each one fires from: theme code, Google Tag Manager or a plugin.
  2. Note the button IDs, classes and form names your triggers depend on, because a redesign usually changes them.

After launch:

  1. Confirm your Tag Manager container and GA4 tag are actually on the new site.
  2. Check that every trigger still matches the new buttons and forms.
  3. Submit each form and click each key button while watching GTM’s Preview mode and GA4’s DebugView.
  4. Open the Network tab in your browser’s developer tools and make sure one page load sends one GA4 hit, not two.
  5. A week after launch, compare event counts with the week before. A drop to zero is a tracking problem, not a quiet week.
  6. Scan your page titles and referrers for spam domains, so junk doesn’t blur the comparison.

The real lesson

A migration can look perfect and still lose the one thing a business measures success by. Nothing breaks on screen, so nobody goes looking.

We traced it, fixed it and verified the fix, and the checks above are now a standard step in every launch we do. If you’re about to move to a new site, or just did, run the list. It takes an afternoon, and it’s far better than finding the gap weeks later.

Want us to look at your site?

Tell us where you are and where you want to be. We reply within one business day.

Written by

John Go

President and CEO of Webiato. Building and caring for websites for over a decade.

Keep reading

Where do you want to be found?

Tell us where you are now and where you want to be. We’ll map the route.