For years, ad tracking meant a pixel: a snippet of JavaScript in the browser that told the ad platform when someone viewed a product or bought something. Ad blockers, browser privacy features, short cookie lifetimes and consent banners have made that picture incomplete. Advertising algorithms learn from conversions, so missed conversions do not just make reports wrong; they make bidding worse.
Server-side tracking sends the same events from your server directly to the ad platform. It does not replace consent and it is not a way around privacy rules. Done well, it makes the conversions you are allowed to measure arrive more reliably and with better data.
How the main platforms do it
- Meta: the Conversions API (CAPI), used next to the Meta Pixel.
- Google: enhanced conversions and offline conversion imports for Google Ads, plus server-side tagging through Google Tag Manager.
- TikTok: the Events API, next to the TikTok Pixel.
- Pinterest: the Conversions API.
- Reddit: the Conversions API.
The principle is the same everywhere. When an order is placed, your server sends an event with the event name, the time, the order value and currency, and customer information such as email address and phone number, hashed with SHA-256 before it leaves your system. The platform matches the hashed data to its users and attributes the conversion.
Deduplication: the step that most setups get wrong
If you run the pixel and the server events together, which is the recommended setup, the platform receives most purchases twice. It removes the duplicates by matching an event ID: the browser event and the server event for the same purchase must carry the same identifier (for Meta, event_id with the same event_name). Without it, conversions are counted double and the algorithm optimises on inflated numbers. A sudden jump in reported purchases right after a server-side launch is almost always a deduplication problem.
Match quality
Platforms score how well your events can be matched to their users. Meta calls it Event Match Quality. More and better identifiers raise it: email, phone, first and last name, city and postcode, all normalised and hashed, plus the click identifier and browser cookie (for Meta, fbc and fbp) when the customer consented. Low match quality means many server events never get attributed, which looks like the setup is not working.
Server-side tracking is not about measuring more people. It is about not losing the conversions you are already allowed to measure.
— Magistry
Consent still decides
In the European Union and the United Kingdom, GDPR and the ePrivacy rules apply to server events just as they apply to pixels. Send marketing events only for customers who gave consent, and pass consent signals where the platform supports them; for Google this means Consent Mode v2. A server-side setup that ignores the consent banner is a compliance problem, not a tracking improvement.
A checklist after setup
- Compare purchase counts in the platform with your order count for the same days. Large gaps in either direction point to missing events or broken deduplication.
- Check that values and currencies match your orders, including discounts and excluding tax and shipping if that is how you report revenue.
- Look at the match quality score and the share of events with email and phone.
- Confirm that events respect consent: test a session that declines tracking.
- Watch for delays. Purchase events should arrive within minutes, not hours.
Where Magistry fits
Magistry can send server-side events to Meta, TikTok, Pinterest, Reddit and OpenAI from the same order data it uses for profit and reporting, with stable event IDs for deduplication and each order's consent decision passed along, so the connected channels learn from the same conversions.
Magistry is the operating system your business runs on. Orders, margin, ad spend, shopping feeds, tracking, customer mail and disputes land in one live data layer, and agents do the daily work on it across marketing, sales, service and operations. It connects to Shopify, WooCommerce, Shopware, Magento, PrestaShop and Lightspeed, to marketplaces such as bol, to ad networks such as Google, Meta, Microsoft, TikTok and Pinterest, and to anything else through an open API and MCP server. You choose per area whether an agent only proposes or acts within your limits; every action is logged, and it runs in the browser and in the iOS and Android apps. There is a free plan, so you can connect a store and look before you decide anything.