Replatforming? Take your data with you
In a migration all attention goes to the new shop. But if your tracking and CDP don't move along, you'll be steering on the wrong numbers afterwards.
In a migration, the planning is about products, customers, orders and URLs. Logical: if those don’t come across properly, you notice it on go-live day. Tracking often falls outside the scope. Nobody misses it on that first day. You only notice weeks later, when the numbers in GA4 no longer match the revenue in your shop.
What usually goes wrong
Tracking sits in more places in your old shop than you think. Part of it is in Google Tag Manager, part is in the theme and part comes from apps or extensions that place scripts themselves. On a new platform, everything that wasn’t in GTM disappears.
What we often come across:
- The data layer has different names or a different structure, so tags in GTM no longer measure anything.
- Purchases come into GA4 twice, or not at all, because the thank-you page works differently.
- Consent Mode hasn’t been set up again, so tags fire without consent or never at all.
- A CDP or email platform no longer gets customer and order data, so flows and segments grind to a halt.
- Conversions in Google Ads drop, and the bidding strategy steers on a decline that isn’t there.
A migration is only finished when your numbers add up again.
Start with an inventory
Before the migration, list what is measured now and where it goes. Per tag, per event and per integration: what does it measure, who uses it and where does the data come from. It’s not fun work, but it’s the only way to know what you can do without and what not.
That also includes the question of what can go. A migration is a good moment to clean up: pixels from channels you no longer advertise on, duplicate analytics and scripts nobody knows who placed. Fewer scripts also means a faster shop.
Build the data layer as part of the shop
The data layer is the agreement between your shop and your tracking. If it’s right, marketers can carry on in GTM without a developer. That’s why we build the data layer as part of the new shop, not as a separate task after go-live. With the events, names and values GA4 expects, in Magento and in Shopify.
Also include the integrations with your CDP, email platform and advertising channels in the test plan. Test them on the test environment, with real orders and real choices in the cookie banner.
Compare every day after go-live
In the first weeks after go-live, compare three sources every day: the number of orders and revenue in your shop, the same numbers in GA4 and the conversions in your advertising channels. Small differences are normal. A difference that suddenly gets bigger is a signal to look straight away.
At Openhaardhout Gigant we included tracking and CDP in the migration from Magento 1 to Magento 2, and solved the consent issues. As a result, marketing could steer on the numbers again after go-live.
What to take away
- Put tracking, Consent Mode and CDP in the scope of the migration, not after it.
- Inventory what is measured now, and clean up what can go.
- In the first weeks after go-live, compare shop, analytics and advertising channels daily.

