Facebook purchase event once in the source but twice in FB

Hi, one of those annoying tracking problems here. We have the purchase code in Additional Scripts in the checkout settings within ‘first time accessed’. Using the FB sales channel app and we have the CAPI set up. Nothing in GTM for Facebook.

I can see in Events Manager in FB that most of the purchases come through twice (same thankyou page URL) and both marked Meta Pixel rather than API. Once with 3 parameters (value, currency and the order number as eventID) and including tax and shipping and once with 5 parameters (content_ids, content_type, currency, value and num_items) but not including tax and shipping.

In a test order I can see both purchases in the Pixel Helper. In the source code I only see one lot of code - the one with 3 parameters that’s in Additional Scripts.

So I need to find where the other one is coming from. I can see the pixel ID in trekkie.load and in window.ShopifyAnalytics but no purchase event code. Could that be affecting it?

Hi, I think I’m having a similar issue – were you able to identify the root cause of your issue?