# How to choose server-side tracking: the checks that matter before you commit

Source: https://returnsift.com/blog/2026-12-01-how-to-choose-server-side-tracking-the-checks-that-matter-before-you-commit.html

Buying Guide · 2026-12-01


Choose the setup by starting narrow. Send the money events server-side first, checkout\_completed and the checkout steps, because that is where browser loss hurts and where the standard customer events are strongest. Insist on a first-party subdomain for the server endpoint, shared event IDs between browser and server copies from day one, and consent state propagated into the server container. Then reconcile platform numbers against Shopify orders monthly. A setup without the reconciliation is a belief system.

## Scope: money events first

Every event you move server-side costs infrastructure and maintenance, so rank by value. Purchase and checkout events drive bidding and reporting; page views are cheap to lose. Most stores should server-side the commerce spine and leave long-tail interaction tracking in the browser, where its loss is a rounding error.

Use Shopify's Google and YouTube channel as the baseline before building anything. It sends core ecommerce events to GA4 with no infrastructure. The case for a custom server setup is control, ad platform coverage beyond Google, and filtering, and it should be made in those terms.

## Deduplication and identity checks

The browser and server copies of an event must carry the same event ID, generated once, at the source. Test it deliberately: place test orders, then inspect GA4 and Meta event managers for merged rather than doubled events. This is a launch gate, not a cleanup task, because ad platforms start learning from the data immediately.

Identity is the second check. Server events should carry the identifiers platforms need for matching, the click IDs, the first-party cookie the server endpoint sets, and hashed customer data where consent allows. A server event with weak identity matches worse than the browser event it replaced.

## Consent propagation and the first-party domain

The endpoint should live on your subdomain, sgtm.yourstore.com style, with a CNAME to the host. That first-party context is what lets the server set a durable first-party cookie and keeps the setup from looking like a third-party tracker to browsers.

Consent is the hard requirement. The pixel reads consent state, the server container receives it with the event, and tags for advertising platforms must not fire on refused consent. Get this reviewed like a legal surface, because it is one: the architecture that makes tracking resilient is the same architecture that makes violations efficient.

## Related reading

For the background behind “How to choose server-side tracking: the checks that matter before you commit”, these earlier guides help: [Returns Data Dies in the Inbox. Give It a Weekly Chair.](https://returnsift.com/blog/2026-11-30-returns-data-handoff-weekly-ops-review-product-defects.md), [Quarantine the Expensive Returns: A Hold Shelf Beats a Fast Refund](https://returnsift.com/blog/2026-11-30-quarantine-hold-high-value-returns-inspection-before-refund.md), and [Serial Numbers at the Returns Bench: How Decoy Returns Get Caught](https://returnsift.com/blog/2026-11-29-serial-number-capture-at-the-returns-bench.md).

## Frequently asked questions

### What should go server-side first?

The money events: checkout steps and checkout\_completed. They suffer the worst browser loss and drive bidding and reporting. Lower-value interaction events can stay browser-side, where losing some is acceptable.

### Why does the server endpoint need my subdomain?

A first-party subdomain lets the server set durable first-party cookies and keeps requests in a first-party context that browsers treat more leniently. A vendor's default domain undermines both benefits.

### How do I test deduplication?

Place test orders and inspect the platform event tools. The browser and server copies should appear as one deduplicated event sharing an event ID. Doubled events mean the IDs are not matching, and ad platforms will optimise toward the inflated count.

### Does Shopify's Google channel make server-side tracking unnecessary?

For GA4 basics, often yes: the Google and YouTube channel sends core ecommerce events with no infrastructure. A custom server setup earns its cost through multi-platform coverage, filtering, and control.
