Facebook Pixel Reporting (Intermittment) "Invalid Purchase Value Parameter"

954 views Asked by At

Our Facebook Pixel is reporting the intermittent issue "Invalid Purchase Value Parameter". More specifically commas are being sent to Facebook for values greater than 999.99 but only some of the time. We are using Shopify and have installed the Facebook Pixel using the built-in integration here: (Preferences > Facebook Pixel). How do I troubleshoot this intermittent issue?

1

There are 1 answers

0
user9722 On

SOLVED: Making the below change to every script in (Settings > Checkout > Additional Scripts) resolved the issue for us. No more 'Invalid Value Parameter' for (Commas) showing in Facebook or strange duplicate events.

Replace this money filter:

'value': {{ checkout.total_price | money_without_currency }},

With this math filter:

'value': {{ checkout.total_price | divided_by:100 }},