Skip to content

Solutions

Move purchase tracking off the browser

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.

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

The situation

A browser pixel reports a purchase only when the confirmation page loads. When it does not, you have no record of the miss.

How it is handled

You run both side by side first, then switch on a day you choose.

  • A newly connected store starts in test mode and stays there until you take it live.
  • In test mode, events are validated by OpenAI without being recorded as conversions.
  • Every order from the sales channels you count gets a delivery status and, when it was not sent, the reason.
  • When OpenAI cannot be reached, is busy or refuses your key, the send is retried for about 41 hours, from 1 minute apart up to 12 hours apart. An event OpenAI rejects as invalid is marked failed straight away.

Steps

  1. Connect, and leave your current pixel as it is

    Your pixel ID and Conversions API key are checked with a validate-only request before they are saved.

  2. Compare for a few days

    Check Activity against your store's orders. Each one should show as validated.

  3. Stop the old purchase event, then go live

    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.

Keep in mind

  • The event ID is the Shopify order ID. If Shopify delivers the same order again, it is stored and sent once.
  • Only orders placed after you go live are counted. An order from the test period is validated, and retrying it later only validates it again.
  • Orders placed before the app was connected are not sent.

How de-duplication works

Questions

Will purchases be counted twice while I test?

No. In test mode, events are validated by OpenAI without being recorded as conversions.

Do I have to remove my old pixel?

You stop it sending purchases, at the point you go live. 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.

Are my older orders sent?

No. Orders placed before the app was connected are not sent.

Pixels by Xneeti

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