This Facebook Pixel Custom Event Code is double...and then triple counting each event. What do I have wrong?


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I’ve having this track every time someone pushes a certain button on a webpage. When I press it, it does tell Facebook that there is an event, which is great but I see that it double counts it each time, then about an hour later, it will tell Facebook there was another click! I’ve click the button 6 times and it has told Facebook that it was clicked 18 times. Each time I click it counts as two clicks, then an hour later, it counts another one.

I’m super new to javascript so I haven’t quite been able to get the exact directions from Facebook.

```
<do not remove the three backticks above>

#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.