My button doesnt trigger lead pixel event

My pixel can not detect the pixel lead after press the lead button. I can find the not activated pixel lead when check the website using pixel helper. Here is the code i embed to my button.

Lead button ID : Belisekarangbutton (yellow button with “Beli Sekarang”)

R there any mistake i made in the code?

Thx…

Here is the read only link

https://preview.webflow.com/preview/yainiled?utm_source=yainiled&preview=793a9bb9343570518676a95dee0d7092

Read only link… The last one i posted seems not working…

https://preview.webflow.com/preview/yainiled?utm_source=yainiled&preview=2edecfbd1615ade572c318df6bcae223

Hi @Adhi_Wiratama, thanks for your post. The pixel only fires on the published site, could you help to share the link to the published url?

Thanks in advance

Thx for ur reply… www.yainiled.com

It looks like the FB event pixel code is loaded, but I am not sure which button you have setup for the lead tracking, see here:

Could you please let me know which element on the site has the lead code added?

Hi Cyberdave - This isn’t my thread but I’m having the exact same trouble and am hoping you could help. Here’s a link to my published page: Navigator Creative | Membership Websites | Web Design Services

The button I’ve tagged (with ID “submitButton”) is the form submit button from the “Apply Now” popup under the pricing section.

Here’s my header code:
<script type="text/javascript"> document.getElementById(submitButton).addEventListener('click', function() { fbq('track', 'Lead'); }, false); </script>

I appreciate your help!