Facebook Pixel - Button Click

Hi Everyone!

I am having some issues getting my Facebook Pixel to track a custom event.

I have a button whose ID is “button8”. I want to track how many clicks this button gets, but everytime I try to get the code working it gives me an error.

Does anyone have any clue how this would accurately be coded for Wix?

Thank you in advance :slight_smile:

Hey, can you tell me — what kind of error message do you get, when you try to get the code working? Also, could you paste the exact code you are trying to execute?

I deleted the original code which did not work, but i did so using the parameters listed by Facebook, and have noticed the Wix ones are different. Could this be the cause?

Also, thank you for your reply!