zsajjad / react-facebook-pixel

React JS wrapper for Facebook's Pixel
MIT License
233 stars 86 forks source link

Activating 2 times #64

Open igordeoliveirasa opened 3 years ago

igordeoliveirasa commented 3 years ago

Ive constantly receiving this issue:

WARNINGS The Facebook pixel activated 2 times on this web page, which can cause errors in your event tracking.

How could I avoid that?

Thanks.

baptisteArno commented 2 years ago

Same here. What can we do to prevent this?

From Pixel doc:

Pixel Activated Multiple Times

The Pixel Activated Multiple Times error means that a pixel with the same ID and event name was sent multiple times to Facebook. The same event should only occur once upon page loading. If the event is sent with different custom data parameters, those parameters should be aggregated into a single pixel event.

mahmoudAcm commented 3 months ago

is there a workaround for that case? @zsajjad