zsajjad / react-facebook-pixel

React JS wrapper for Facebook's Pixel
MIT License
235 stars 85 forks source link

Handle event data for event deduplication #75

Open mscandal opened 3 years ago

mscandal commented 3 years ago

In order to use this correctly with the Conversions API and ensure event deduplication, we need to pass a second data object with an event id. This is documented here: https://developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events/

mako-taco commented 3 years ago

this is extremely important to me, i might uninstall facebook if i cant do this!

mscandal commented 3 years ago

this fixes https://github.com/zsajjad/react-facebook-pixel/issues/60

QB3L commented 3 years ago

Add another vote for this

LukasBlu1 commented 3 years ago

I need that too. It is really important. In the future espacally with the new iOS Update it should be available.

GavinThompson commented 3 years ago

Any movement on this ticket or ETA when it will be merged?

danwetherald commented 2 years ago

Why is this not being merged???

mscandal commented 2 years ago

@zsajjad any reason we can't merge this?

danwetherald commented 2 years ago

@mscandal I merged this in and moved it to a new package here:

https://www.npmjs.com/package/@bettercart/react-facebook-pixel

smith1302 commented 2 years ago

Dead project?

SnapeEye commented 4 months ago

It's 2024 and it is still not available. Too sad.

P.S. there is a method that covers this case. ReactPixel.fbq('track', 'Purchase', { currency: 'usd', value: 90 }, { eventID: 'be_id_here' }) This won't expand track or related method arguments, but resolves the issue 100%.