Don't Lose Analytics Tracking When the Website Moves

Website changes are one of the most common reasons analytics data stops after a sale. A new theme, a new host or a rebuild can quietly remove the tracking code.

Don't Lose Analytics Tracking When the Website Moves

Know how tracking is installed

Tracking may be added directly in the site's code, through a plugin or through Google Tag Manager. Conversions may depend on thank-you pages, form events or click tracking. Write down how each piece is set up before the site changes.

If the website uses Tag Manager, check that the container is installed on the new site and that the right version is published. A container that's installed but missing tags is just as bad as no tracking at all.

Note any custom events, such as clicks on phone numbers, form submissions or booking completions. These often depend on specific page elements that may change in a rebuild.

Check how thank-you pages work. If conversions count visits to a thank-you page, and the new site shows a message instead of a new page, the conversion will stop recording.

Record cross-domain tracking settings if the site links to a separate booking or payment domain.

List any other tags that depend on the same setup, such as advertising pixels.

Check whether the site uses any plugin or built-in feature that adds tracking automatically. Some website platforms add analytics through a setting rather than code, and that setting may not carry over to a new platform or a fresh installation.

Test on the new site before launch

Check that the tracking code is present on the new or moved site, and use Analytics' real-time reports to see your own visit appear. Submit a form and confirm the conversion records. After launch, compare daily traffic with the weeks before.

A sudden drop to near zero almost always means missing tracking, not missing visitors.

Use a preview or staging version of the new site to test tracking before it goes live. Fixing problems before launch is far easier than explaining a gap in the data afterwards.

Check that the right property receives the data. During rebuilds, developers sometimes install a test property or an old tracking code by mistake.

Look at conversions specifically. Traffic may look normal while conversions quietly stop.

Compare a full week of data after launch with the week before, allowing for normal variation.

Keep notes of what changed and when, so any unexpected shift can be traced.

Watch for doubled tracking too. If both the old code and a new Tag Manager container are installed, every visit may be counted twice, which makes traffic look as if it suddenly doubled after launch. It's an easy mistake to make and an easy one to fix once spotted.

Who should own the check

Website migrations involve several people: developers, marketers and sometimes agencies. Tracking often falls between them, because each assumes another is checking it.

Name one person responsible for confirming analytics before and after launch.

Give them a simple checklist: tracking code present, data arriving, each conversion tested and links to other tools working.

Ask them to check again a week after launch, when any slower problems will have shown up.

Include analytics in the project plan from the start, not as an afterthought on launch day.

That small step protects data the business depends on for decisions and, after a sale, for showing that the acquisition is performing.

If the migration happens close to a sale, add a note to the analytics property marking the launch date. Anyone reviewing the data during diligence will then understand any change in the numbers around that date, rather than wondering whether the business itself changed.

Talk to us about your deal

Talk to us before you sign.

Every deal is different. Call (877) 88-AYPEX or book a confidential introductory call.