JotForm User Guide / Advanced Features /

How to Track Form Submissions With Facebook Pixel

How to Track Form Submissions With Facebook Pixel

If you’re using Facebook ads, then you’re probably familiar with Facebook Pixel. According to Facebook, “The Facebook pixel is a snippet of JavaScript code that allows you to track visitor activity on your website. It works by loading a small library of functions which you can use whenever a site visitor takes an action (called an event) that you want to track (called a conversion). Tracked conversions appear in the Facebook Ads Manager and in the Facebook Analytics dashboard, where they can be used to measure the effectiveness of your ads, to define custom audiences for ad targeting, for dynamic ads campaigns, and to analyze that effectiveness of your website's conversion funnels.” 

You can read more about Facebook Pixel in their guide: https://developers.facebook.com/docs/facebook-pixel.

Facebook Pixel is common on many advertising platforms. It helps you track the behavior of your website visitors so you’ll know their interests and be able to optimize your campaign. 

Installing Facebook Pixel is easy. With its many embed options, you can install the pixel on just about any platform. Our developers have built a Facebook Pixel widget that you can easily add to your form. The widget has a list of standard events you can select from, allowing you to track the events you prefer.

To install Facebook Pixel on your form, follow these steps:

1. In the Form Builder, click Add Form Element on the top left of the page.

Add Form Element

2. Go to the Widgets tab and drag and drop Facebook Pixel to your form.

FB Pixel Widget


3. In the Facebook Pixel Widget Settings, enter your Facebook Pixel ID and select the Events you want to track.

Insert Facebook Pixel ID

Your Facebook Pixel ID is the 15-digit number found on the top left of your Facebook Events Manager page under your pixel name. Here's an example:

Finding FB Pixel

For reference, here's the list of all Standard Events and their purposes.

Testing Pixel


Now that you’ve installed the pixel on your form, you can perform tests to see if it’s working. Here’s the easiest way to test your pixel:

1. Go to the Facebook Pixel Event Manager: https://www.facebook.com/events_manager2/list/
2. Select your pixel from the list, and then go to the Test Events tab.
3. Enter your form URL and click the Open Website button.




4. If you selected the PageView event in the Facebook Pixel Widget Settings, you’ll immediately see the PageView standard event on the same tab when you view your form. For example:



To track the rest of the standard events,  fill out your form and submit it. This will send the selected standard events into the pixel dashboard as shown below:



That’s pretty much it. You now have a fully working Facebook Pixel running on your form so you can start tracking conversions and begin creating custom audiences for almost any of the standard events you want, whether it’s form visits, completed payments, or completed registrations.

Contact Support:
Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:
Contact JotForm Support: https://www.jotform.com/contact/

Send Comment