Home › Blog · Tracking basics · 24 November 2026 · 9 min read

Server-side tracking setup, step by step

How to set up server-side tracking: measure the gap, pick the method, write the tracking plan, handle consent, deduplicate, test and monitor. An eight-step checklist.

Setting up server-side tracking means sending your conversions from a server as well as the browser, without counting them twice and without betraying visitors’ choices. This guide walks through the setup in eight steps, from measuring the gap to monitoring over time. If the subject is new to you, start with what server-side tracking is.

1. Measure the gap before you start

Pick a week. On one side, count the orders (or forms received) in your back office. On the other, count the purchases each platform received in its events tool: Events Manager at Meta, Events Manager at TikTok, conversions in Google Ads. Note the gap. It is your starting point, and the measure that will tell whether the setup worked.

2. Pick the method

Your situationSuitable method
A single ad platform, a Shopify shopThe platform’s native connector
A team at ease with Google Tag ManagerA hosted server container (Stape, TAGGRS, Addingwell…)
Several platforms, no developerA tracking service that runs the servers
A developer available and a very specific needA direct build on the APIs

Tools and their prices are on our Stape alternatives page.

3. Write the tracking plan

List the moments to measure, their name for each platform and the information to attach.

MomentMeta / TikTokGA4To attach
Product page viewedViewContentview_itemID, price
Added to cartAddToCartadd_to_cartID, price, quantity
Checkout startedInitiateCheckoutbegin_checkoutValue, currency
PurchasePurchasepurchaseValue, currency, order number, items
Form sentLeadgenerate_leadForm name, estimated value

The exact moment of each event matters as much as its name: see Meta standard events and form tracking.

The server must know the visitor’s answer to the banner, and apply it like the browser: without advertising consent in the EEA, the UK and Switzerland, nothing goes to the platforms by either road. Pass that answer with each event, and to Google with Consent Mode v2.

5. Send from both sides, with a shared ID

Keep the pixel and add server-side sending. Each event carries the same name and the same event ID on both sides; for a purchase, the order number makes a good ID. That is what lets Meta and TikTok keep one copy. The mechanism is detailed in our Meta Conversions API guide.

6. Attach customer parameters

With consent, attach to every purchase and lead the hashed e-mail and phone (SHA-256, after normalising), the IP address, the browser and the click IDs kept from the first page (fbclid, ttclid, gclid). That is what raises event match quality and feeds Google Ads enhanced conversions.

7. Test

  1. In Meta Events Manager, open “Test events” and place a test order: the purchase must arrive from the browser and the server, and be counted once.
  2. Do the same in TikTok Events Manager.
  3. In GA4, follow the events in DebugView.
  4. Refuse consent in the banner and try again: nothing must go to the platforms.
  5. Delete the test order from your shop.

8. Monitor over time

Tracking that works today can break tomorrow: an access token withdrawn, a theme update, a new plugin that installs a second pixel. Redo the step 1 calculation every month, check each platform’s Diagnostics tab, and set up an alert for when sending stops.

The checklist

  • Gap measured between orders and events received.
  • Method chosen to fit the team and the platforms.
  • Tracking plan written: moments, names, parameters.
  • Consent applied to both roads.
  • One event ID shared by browser and server.
  • E-mail and phone hashed, click IDs kept.
  • Tests passed, test order deleted.
  • Monthly check and alert in place.

How long it takes

With a native connector or a tracking service, count a few minutes to an hour, plus a week to compare the figures. With a Google Tag Manager container, count several days of configuration and testing, depending on the number of events and platforms.

Frequently asked questions

Do I need a developer to set up server-side tracking?

Not necessarily. A native connector or a tracking service installs without code. A server-side Google Tag Manager container, on the other hand, needs someone who knows Google Tag Manager well, and a direct build needs a developer.

Can I keep Google Tag Manager?

Yes. Google Tag Manager can stay for your other tags; just make sure it does not send the same conversions as your server-side tracking without the same event ID, or they will be counted twice.

The figures do not move after setup: what should I check?

First that server events actually arrive (each platform’s test tool), then that they carry the same ID as the browser ones, and finally the share of visitors who refuse consent: without it, neither road sends anything, and that is expected.

Does it work with cash-on-delivery orders?

Yes: the purchase leaves when the order is placed, as with an online payment. To read the real return, remove refused or cancelled orders from your reports afterwards; see our article on cash on delivery.

How much does server-side tracking cost?

From free (native connectors, limited free plans) to a few tens or hundreds of dollars a month depending on the tool and volume, plus setup time for a Google Tag Manager container. Ten tools and their prices are on our Stape alternatives page.

What Tagbreeze does

Tagbreeze does steps 3 to 6 for you: it reads your site and proposes the tracking plan, applies consent to both roads, sends each conversion from the browser and, for Meta and TikTok, from its servers with a shared ID, and attaches the hashed customer parameters. It e-mails you when a platform refuses conversions or stops receiving any. What is left to you is measuring the gap before and after, and the tests of step 7.

Know what your ads really bring in.

It takes a few minutes. Nothing is changed on your site until you install the tag.

Add your site
Hands on a laptop beside parcels ready to ship