Questions tagged [facebook-pixel]

Facebook Pixel, also known as the Facebook tracking pixel, has recently undergone a consolidation of its multiple versions. Now referred to as simply the Facebook Pixel, this single object streamlines and enhances the tracking capabilities on the platform.

Tips on utilizing multiple instances of ReactPixel.track('abc') within a single component:

I need to add two ReactPixel.track('abc') and ReactPixel.track('cba') on a component. Should I include one ReactPixe.init('id') or two? Here is an example of the code: componentDidMount() { const options = { autoConfig: ...

Sending product identification to content_ids for Facebook Pixel tracking

Looking to implement Facebook Pixel for tracking the ViewContent event on product pages. According to Facebook, it's necessary to provide content_ids or contents along with a content_type. I assume that the content_type should always be 'product', which I ...