Track conversions from Meta ads when using buy buttons

Topic summary

A user encountered issues tracking Meta ad conversions when using buy buttons that redirect customers from their external website to Shopify’s checkout. The Meta pixel was installed correctly and tracked events on the main website, but stopped recording when customers moved to Shopify’s checkout domain.

Initial diagnosis:

  • Another user suggested the problem stemmed from Shopify’s checkout page requiring data layers to trigger events like “purchase” and “initiate checkout”
  • Recommended using specialized Facebook pixel apps (such as AdNabu’s) that support multiple event tracking with detailed analytics

Resolution:

  • The issue resolved itself after several hours, with all checkout events now registering properly
  • The delay appears to have been a temporary lag in the system rather than a configuration error
  • The user was using the standard Facebook and Instagram app
Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

Hi all!
I wonder if someone knows if it’s possible to track conversions from a Meta ad when using buy buttons on a website? I’ve tried to set this up, but I might be doing something wrong.

The website uses buy buttons that take customers from the website to Shopify when they check out. Here’s an example of a page: https://midnight-tower.com/adventures/secrets-of-the-drow-trilogy/

The ad’s corresponding Meta pixel has been installed in Shopify, and there are no errors anywhere as far as I can see.

When browsing the website, the events show up as expected in Meta. But when I go to the shopping cart and pay (and thereby leave the website and go to a Shopify domain), the events end and no conversions are recorded.

So I’m wondering if I’ve missed a step when linking Shopify with the ad, or if it’s simply not possible to track a customer if they start on a website outside of Shopify but complete their purchase on Shopify?

from what i am able to understand, you are having issues with pixel not tracking initiate checkout and purchase events.

you should note that shopify’s checkout page is not trackable without datalayers. datalayers help trigger Meta events like “purchase” by making structured data available when the user checks out.

as of now i am not sure which app you are using (for example the facebook and instagram app), but to resolve this issue, i will suggest you to go with a specialized facebook pixel app that can be valuable for conversion tracking.

you can try AdNabu’s Facebook pixel app. it supports tracking of multiple facebook events such as purchase, initiate checkout, view cart, and more. and for these events, you get detailed analytics within shopify itself.

1 Like

Thanks for the reply! :slightly_smiling_face: I’m using the Facebook and Instagram app but couldn’t get the pixel to fire on the checkout page - spent hours trying to no avail.

However, now it suddenly works! All the expected events from the checkout page are now registered. All I did was leave it for a few additional hours, so there must’ve been a lag.