JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Facebook Pixels on FormsAsked by OHBON on June 10, 2016 at 01:05 PM
Hello! I am trying to add a Facebook pixel to track our form submissions via Facebook ads, but I'm not able to do so successfully. I tried adding the code as a hidden field using the code widget but it still is not being recognized. Can someone please help!
pixels Submissions hidden hello facebook ads
I checked the FB help page on how to use the "Retargeting Pixel" https://www.facebook.com/business/a/online-sales/custom-audiences-website
As per there requirement the code should be pasted with in the <head> ... </head>" tags. This is what their guide says:
Place the pixel code provided by Facebook across your web pages. To do this, copy 100% of the pixel code from the Create Web Remarketing Pixel box, and paste it between the <head> and </head> tags on all pages of your website. Or, send the pixel code to your website developer.
I believe you can achieve your requirement by creating your own custom page and add the "Retargeting Pixel" code within the <head> tag of your page. You can then use this page in our custom thank you URL. The following guide should help you:
Unfortunately it is not possible to add Pixel Code on the original JotForm Form in the Header Tab. You would need to add the script to your website to make it work.
Hope this will help. Let us know if you need further assistance.