Server-side tracking services for events browser tags can't deliver alone
Browser tags miss events when a blocker or browser rule stops them, a tab closes early, or the sale happens later in a CRM. A server path sends events alongside those tags with any consent choice attached; it doesn't recover every visit.
Updated
What it is
Server-side tracking sends marketing events from a server as well as from the visitor's browser. The browser passes an event to a server container, which applies any consent choice and forwards what's allowed to GA4 and to ad platforms such as Meta or TikTok. It moves where events are sent from; it doesn't remove the need for consent.
When it makes sense, and when it doesn't
When it makes sense
- Purchase events miss orders or record some twice, and your ad platforms bid on that count.
- You run ads on several platforms that accept server events.
- Sales close after the visit, by phone or in a CRM, and the platforms never hear about them.
When it doesn't
- Events aren't named or tested yet. A server container forwards whatever it's handed, so start with GA4 setup.
- You hope to reach visitors who refused tracking or use a blocker. Marketing attribution reads those gaps as estimates; this isn't built to close them.
- Your store's built-in connection already sends server events that test clean. A second path adds a new way to double count.
- Pages that hold patient or health records are out of scope. A server route doesn't make that information fit to send to ad platforms.
How we run it
Pick the events worth a server copy
Purchases, leads and CRM stages come first, because platforms optimize on them. Page views and scrolls rarely justify the upkeep.
Serve the container from your domain
A server container is Tag Manager running on a server, in Google Cloud or with a host such as Stape. Google's default address runs in a third-party context, so we map a subdomain or path of your site, which lets the server set more durable cookies. A subdomain takes a DNS record and a path a CDN or load balancer rule: we write the change for whoever manages your site or domain to make, and our team makes it on sites it builds or cares for. Google tag gateway for advertisers, a separate step, hosts the Google tag on your domain through a CDN, load balancer or web server.
Send one ID down both paths
A browser copy and a server copy of one event are sent on purpose, so both must carry the same event name and ID for the platform to keep one. An order number works for purchases; a lead needs an ID created at submission. A site release can break the ID with no visible error, so counts are compared with recorded orders or leads each month.
Make consent its own step
The tags we write read a banner's choice where the site has one, and a Global Privacy Control signal honored under state privacy law. Google's server tags adjust what they send from consent parameters on each request. On other vendors' tags, our rule turns a refusal into Limited Data Use where it applies on Meta, TikTok, Snapchat and Reddit, the denied value on Microsoft, or no event at all. Contact details go hashed, and only what your privacy policy discloses.
Return CRM stages to the platforms
Where your CRM can be connected, a stage change such as qualified or closed goes back as a server event: to LinkedIn and Microsoft through their Conversions APIs, and to Google Ads through Data Manager.
How an event travels
Browser
A form is submitted or an order finishes. The tag creates the event's ID and sends it to the platform's pixel and the server container.
Consent check
A banner choice or Global Privacy Control signal, where either is present, travels with the request and limits what goes on.
Server container
Triggers decide which tags fire, and fields a vendor has no need for can be removed here.
Destinations
Tags forward the event to GA4 and each ad platform's server API.
Merge and credit
The platform matches the two copies, keeps one and credits it inside its own attribution window.
What each destination expects
What each platform does with these events is on its own page: Meta, TikTok, Snapchat, Reddit, Microsoft and LinkedIn.
| Browser tag | Server path | How copies merge | Worth knowing | |
|---|---|---|---|---|
| Meta | Meta Pixel | Conversions API | Identical event name plus event_id; 48 hours at most | Event Match Quality grades each event; fbp and fbc go unhashed |
| TikTok | TikTok Pixel | Events API | Same event name and event_id on both; TikTok keeps the first received, within 48 hours | With no event_id, TikTok tries the _ttp cookie |
| Snapchat | Snap Pixel | Conversions API | Pixel client_dedup_id must equal the server event_id, within 48 hours | Signal Readiness rates the identifiers; an ID left unset can't match the server's |
| Reddit Pixel | Conversions API | Reddit recommends the same conversion ID and event name on both copies | Attribution window set in Events Manager | |
| Microsoft | UET tag | Conversions API | Same UET tag ID, eventId and eventName | msclkid is stored for attribution; refusals use adStorageConsent |
| Insight Tag | Conversions API | Same eventId; LinkedIn keeps the Insight Tag copy | Needs one conversion rule per source | |
| Google Analytics | Google tag | Server container or Measurement Protocol | An event joins a web session only with its session_id, sent within 24 hours of session start | client_id must match the tag's; a sale closed later won't carry the session's source |
Tools used
Google Tag Manager
The web and server containers, with consent rules on tags
Stape
Hosting a server container outside Google Cloud
Google tag gateway for advertisers
Serving the Google tag from your own domain
Meta Conversions API
Server events to Meta, merged with the Pixel by event ID
Frequently asked questions
Does server-side tracking get around ad blockers?
It isn't meant to, and we don't build it for that. What a blocker stops depends on the blocker, so it's no basis for a measurement plan. A visitor's refusal still applies, and Google's Analytics terms say you must not circumvent any privacy features.
How is server-side tracking different from client-side tags?
Client-side tags run in the visitor's browser and send data straight to each vendor. Server-side tracking adds a stop: the browser sends a stream to a server container, which forwards a shaped copy to each vendor. Most setups use both, since the browser sees on-page detail a server can't.
Does server-side tagging make a website faster?
It can, if tags leave the page. Google lists fewer measurement tags on the site as a benefit, because less code runs in the browser. But the Google tag usually stays, and some vendors' features still need their own browser script, so we don't promise a speed gain.
Why are my Conversions API events being counted twice?
Usually the two copies' IDs don't match, or their event names differ by a character. Retries can repeat an event too. Also check whether a store app and a custom build both send the same purchase; if so, one has to go.