Skip to content

Explainer

Why send purchases from the server

Server-side tracking reports the purchase from the order itself, not from the shopper's browser.

Browser routeOrder placedThank-you pagemust loadBrowser tagmust runAd platformServer routeOrder placedOrder webhookfrom ShopifyPixels by Xneetistatus keptConversions APIOpenAI

What changes

A browser tag and a server event compared
AspectBrowser tagServer event
Where it runsIn the shopper's browser, on the page shown after checkoutOn a server, from the order record
When it reportsWhen that page loads and its script runsWhen the store platform says the order exists
What it depends onThe page loading and the script being allowed to runThe platform delivering the order, and the sender retrying when a send fails
What it knowsWhat the browser session holds at that momentWhat the order holds, plus browser details only if they were saved with the order
How a miss shows upUsually it does not, unless you compare against your ordersIt can be recorded for each order, if the sender keeps that record

It still needs the ad click saved with the order, and consent still limits what is sent.

How Pixels by Xneeti does it

  • Purchases come from Shopify's order webhook, server to server, so sending one does not depend on the shopper's browser loading the thank-you page.
  • Every order from the sales channels you count gets a delivery status and, when it was not sent, the reason.
  • The pixel never sends the purchase. The purchase comes from the order webhook only.

De-duplication

  • OpenAI's documentation says events with the same pixel, event type and event ID are counted once.
  • The event ID is the Shopify order ID. If Shopify delivers the same order again, it is stored and sent once.
  • Before going live you confirm that nothing else, such as OpenAI's own app or a pasted pixel, still sends purchases to the same pixel ID.

The safe setup is one purchase sender for each pixel.

OpenAI's conversion tracking documentation

Seven questions for any tracking app

  1. Where does the purchase come from: the order record, or a page in the browser?

    Our answer: Purchase tracking

  2. Are orders that are not paid at checkout, such as cash on delivery, sent? When?

    Our answer: Cash on delivery

  3. Can you test without recording conversions, and what must pass before you go live?

    Our answer: Test mode and go-live

  4. For each order, can you see whether it was delivered and, if not, why?

    Our answer: Delivery statuses and retries

  5. When a send fails, how long is it retried, and how are you told?

    Our answer: Delivery statuses

  6. Which customer fields are sent, which are hashed, and how is consent applied?

    Our answer: Security

  7. What does it not do, and where is your data processed?

    Our answer: Limitations

Pixels by Xneeti

Start in test mode. Go live when you're ready.