zsajjad / react-facebook-pixel

React JS wrapper for Facebook's Pixel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activating 2 times

igordeoliveirasa opened this issue · comments

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.

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.