Chapter 16
Tracking without data gaps: GA4, Google Ads and server-side tracking
Table of contents
After go-live, everyone asks the same question: how is the new store doing? If tracking hasn't been fully moved, there is no reliable answer. And the automated bidding strategies in Google Ads optimize on numbers that are wrong.
In short: Tracking has to run completely from the new store's first day, with the same accounts for GA4 and Google Ads. If the implementation is only corrected afterwards, data is missing in exactly the weeks in which you want to evaluate the migration. Server-side tracking is best implemented at the same time.
The basic rule: same accounts, new implementation
GA4: keep using the same property. A new property means a break in all reports and no comparability with the previous year.
Google Ads: keep using the same conversion actions. New actions have no history, and the bidding strategies have to relearn.
Meta and other channels: keep using the same pixels and datasets.
Only the implementation in the store is new. And that is exactly where the gaps arise.
Where data gets lost
E-commerce events: purchase, cart, checkout steps. Every system delivers these events differently. If values such as revenue, items or transaction ID are missing, the reports are useless.
Consent: a new cookie solution that passes consent differently can prevent measurements or trigger them unlawfully.
Payment providers: redirects to external payment pages can overwrite the visitors' source. The order is then attributed to the payment provider instead of the campaign.
Double measurement: apps, plugins and Tag Manager measure the same event in parallel. Revenue appears twice.
Implement server-side tracking at the same time
A migration is the best time for server-side tracking. The implementation is rebuilt anyway. With your own server container, data flows through your domain, is less vulnerable to ad blockers and browser restrictions and can be filtered before being passed on to Google or Meta. How this works with Shopware and Shopify is explained in the guide Server-Side Tracking for Shopware and Shopify.
Test before go-live
Test purchases on the test system, checking every event in the Google Tag Manager and GA4 preview.
Check values: revenue gross or net, shipping, tax, vouchers, currency. The definition must match the previous one, otherwise before-and-after comparisons are worthless.
Check consent: what is measured with and without consent?
Reconcile after go-live
In the first two weeks, compare orders in the store backend daily with purchases in GA4 and conversions in Google Ads. A discrepancy is normal, for example due to declined consent. What matters is that it stays within the range of the discrepancy before the migration. If it jumps, something is wrong with the implementation. Why store backend, analytics and ad platform never show exactly the same number is explained in the chapter Data sources and truth of the guide for managing directors.
Mark the go-live
Enter the day of the switch as an annotation in GA4 and in your reports. Anyone looking at the figures a year from now must be able to see where the system change happened.
Shopify: tracking works differently than in Shopware
On Shopify, you can't freely add your own script such as Google Tag Manager to the checkout. Tracking in the checkout runs via Shopify's customer events and web pixels, which operate in a sandboxed environment. If you come from Shopware or another system with a Tag Manager setup that has grown over years, you have to rebuild it for Shopify. That's not a disadvantage, but it is work that belongs in the project.
In Shopware 6, tracking stays in the theme or in extensions and can be designed freely. Server-side tracking can be implemented on both systems, on Shopware 6 for example with TAGGRS.
Consent and Consent Mode
For users in the European Economic Area, Google requires Consent Mode for advertising features. A new cookie banner that doesn't pass consent correctly to Google makes remarketing lists shrink and conversions in Google Ads drop. The store then sells normally, but the bidding strategy works with too little data. Use Tag Assistant before go-live to check that consent and refusal are transmitted correctly.
The reconciliation table for the first weeks
Metric | Source 1 | Source 2 | Expectation |
Orders per day | store backend | GA4 purchases | discrepancy similar to before the migration |
Revenue per day | store backend | GA4 revenue | mind the same basis, gross or net |
Conversions | GA4 | Google Ads | similar order of magnitude as before |
Transaction IDs | store backend | GA4 | no duplicate IDs |
The benchmark isn't zero discrepancy, but the same discrepancy as before the migration. If it grows, something is wrong with the new tracking.
Questions to ask your agency
Do GA4 and Google Ads run in the new store with the same accounts and conversions?
How will you test purchases and conversions before go-live?
How will you reconcile store orders with GA4 and Google Ads in the first weeks?
What you can check today
Will the GA4 property, conversion actions and pixels be reused unchanged?
Is there a documented test purchase checking all e-commerce events before go-live?
Is it specified whether revenue is measured gross or net in tracking, as before?
Will store backend, GA4 and Google Ads be reconciled daily in the first two weeks?
Frequently asked questions
No, and you should avoid it. With the same property, reports and year-on-year comparisons are preserved. Only the implementation in the store is new.
Usually because events are missing in the new store, are populated differently or consent is passed on differently. Redirects via payment providers can also disrupt attribution. Test purchases before go-live and a daily reconciliation afterwards reveal this.
Yes, the migration is the best time for it. The tracking implementation is rebuilt anyway. With your own server container, the data is more complete and can be filtered before it is passed on.
Not as freely as in your own store. Tracking in the Shopify checkout runs via customer events and web pixels. An existing Tag Manager setup has to be adapted for this.
When store orders and GA4 purchases drift apart more than before. In the first weeks, reconcile orders, revenue and transaction IDs between store, GA4 and Google Ads daily.
)