Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Facebook Pixel Parameter "currency" shows invalid?

I was implementing a pixel event on my website and I had to provide a currency for my local business. It was Bangladeshi currency (BDT). But the following error is shown:

fbq('track', 'Purchase', {
  value: 350,
  currency: 'BDT'
});

Now it shows the following error.

Facebook Pixel Error: Parameter "currency" is invalid for event "Purchase"

Can anyone tell me if Facebook supports Bangladeshi currency?

like image 896
ABIR AHMED Avatar asked Nov 23 '25 23:11

ABIR AHMED


1 Answers

Yes BDT currency is supported. you just need to add this

<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=FB_PIXEL_ID&ev=Purchase&cd[currency]=BDT&cd[value]=350"/>

here is supported currency list: https://developers.facebook.com/docs/marketing-api/currencies/

like image 137
Sammrafi Avatar answered Nov 28 '25 17:11

Sammrafi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!