Does the ajax API internally register facebook events?

If the store has a meta pixel, and I generate an add to cart via Ajax API, does Shopify register this as an add to cart event for facebook?

I noticed that when I do this the live store doesn’t call the /tr facebook endpoint, but a merchant reports that it may be registering in his events manager.

Any insight is appreciated, thank you!

Hey @Pridentt, you may want to check this help center page on the topic. It goes through an example of using a Meta pixel.

That said, I believe the Web Pixels should track the add to cart events no matter if the Cart API is used or the normal product form. (I am unsure if it would if the product is added via a URL.)

1 Like