Server-side tracking case · Swedish electronics retailer, headless storefront

Server-side went live, and every purchase was counted twice

The server container was healthy, yet first it received nothing and then it received everything twice. Both problems were in the web container.

Server-side GTM launch · GA4, Google Ads and Meta Conversions API · custom first-party domain

What the audit found

  1. The published web container held zero tags: about 200 script loads an hour reached the server, and no events.
  2. After publishing 26 tags, 587 events arrived in 90 minutes from 80 visitors with no outgoing errors.
  3. Every e-commerce event was sent on two transports at once, and the server forwarded both.
  4. One order produced two GA4 purchases and two Google Ads conversions; another produced four of each, because the confirmation page fired again 24 seconds later.
  5. Meta received the same purchase with two different event IDs, so deduplication could not work.

Outcome

The fix is one transport per event and a once-per-order guard on the confirmation page. The check that found it: group outgoing purchases by transaction ID instead of counting hits.

Mattia Giromel, founder of MAGENCIACases written by · updated November 2026Mattia GiromelEngineer | Google Ads & tracking specialist

Web tracking →

Server-side tracking

More cases

Free audit

Get your free Google Ads audit

A comprehensive analysis of your Google Ads account with actionable recommendations, delivered within 72 hours.

Mattia Giromel, founder of MAGENCIAAudit carried out personally byMattia GiromelEngineer | Google Ads & tracking specialist

How it works

  1. Fill out the form with your business details.
  2. Add analytics.expert.digital@gmail.com as Read only to your Google Ads account.
  3. Within 72 hours, receive your complete audit by email.

What is included

  • Account structure analysis
  • Campaign performance review
  • Tracking & conversion setup evaluation
  • Budget optimization recommendations
  • Competitor insights
  • Custom improvement roadmap

Prefer to talk first? Book a 30-minute call.

No commitment required. You receive the audit by email within 72 hours.