Store connections

Shopify checkout extensibility and the checkout pixel

Updated

Shopify checkout no longer runs theme scripts; tracking there goes through Customer events. ROASaurus uses that: its app installs a web pixel for checkout, and the ROASaurus custom pixel adds the browser pixels of your ad platforms. Nothing in your checkout has to change.

What is tracked in checkout

Shopify eventROASaurus
checkout_startedInitiateCheckout, with the cart value and products
checkout_contact_info_submittedIdentifies the shopper (email or phone, with consent) so earlier events of the visit can be matched
checkout_completedThe browser purchase with the order id; the server purchase itself comes from the order webhook

Both pixels read Shopify's Customer Privacy API, so they follow the visitor's choice in your cookie banner.

Before you start

  • The ROASaurus Shopify app installed.
  • Access to Shopify admin › Settings › Customer events.

Steps

  1. Check the app pixel

    Shopify admin › Settings › Customer events, tab App pixels.

    You should see: ROASaurus listed as Connected. It was added when you installed the app.

  2. Add or update the custom pixel

    Same page, tab Custom pixels: the ROASaurus pixel should hold the current snippet from Connections › Tracking & destinations. After you add an ad platform there, paste the snippet again so checkout loads that platform's browser pixel too.

  3. Test a checkout

    Open your store in a private window with ?roasaurus=debug, add a product and start the checkout. Shopify's own pixel helper (Customer events › Test) shows each pixel event.

    You should see: InitiateCheckout for your store under Website › Realtime, and after a test order its purchase under Data quality › Deliveries.

Common problems

No InitiateCheckout events
The app pixel is disconnected, or the visitor declined consent. In Shopify (Apps › ROASaurus) the setup status shows Checkout tracking (app web pixel); if it says Not connected, use Reconnect on Getting started, step Connect the store, which registers the webhooks and the app pixel again.
Purchases counted twice in Meta or TikTok
Another app or a custom pixel sends the same pixel. Remove the other one, see Prevent double counting.
Old pixel code in "Additional scripts"
Pixel code left in the order status page settings can send purchases next to ROASaurus. Remove it there; the ROASaurus pixels replace it.

Next step

Back to the Shopify setup

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.