How to Add Facebook Pixel to Typeform (Step-by-Step)
In this article
You can integrate a Typeform workspace with the Facebook pixel by adding the pixel ID as a tracking code in the form's settings. This lets Meta record a PageView when someone opens your form and, if you map it, a Lead event when they submit. You need a Facebook Business Manager account with a pixel already created, and edit access to the Typeform form or workspace. The integration is done per form, not per workspace, so you will repeat the steps for each form you want to track.
What You'll Need
- A Facebook Business Manager account with a pixel created (you can find the pixel ID under Events Manager).
- A Typeform account with edit access to the form you want to track.
- The form must be published or at least have a public URL; tracking does not work on the editor preview.
- If you use a workspace, make sure you are in the correct workspace before editing the form.
Step-by-Step
- Log in to Typeform and open the workspace that contains your form. Workspaces are listed in the left sidebar; click the one you need.
- Find the form you want to track and click it to open the form editor.
- In the form editor, click the Connect tab (sometimes labeled Integrations depending on your version). Labels can differ slightly by version or region.
- Look for Facebook Pixel in the list of integrations. If you do not see it, use the search box and type "Facebook Pixel".
- Click Connect next to Facebook Pixel. A settings panel will open.
- Paste your Facebook Pixel ID into the field. You can find the ID in Facebook Events Manager: go to Events Manager, select your pixel, and copy the 15-16 digit ID shown at the top.
- Choose which events to track. At minimum, enable PageView so the pixel fires when the form loads. If you want to track submissions, enable Lead or a custom event (the exact event names available may vary).
- If you want to track a specific button click or completion, you may need to add a hidden field or use Typeform's logic to trigger the event. The integration typically fires on form load and on submit; advanced event mapping may require custom code, which Typeform does not officially support for this integration.
- Click Save or Apply to activate the integration.
- Publish your form if it is not already published. The pixel will only fire on the live form, not in the editor preview.
- Test the integration: open your form in a new browser tab, then check Facebook Events Manager > Test Events. You should see a PageView event appear within a few seconds. Submit the form to see if a Lead event fires (if enabled).
Common Mistakes
- Using the wrong pixel ID: Pasting a pixel ID from a different ad account or a deleted pixel. Double-check the ID in Events Manager.
- Forgetting to publish: The pixel does not fire in the Typeform editor preview. Always test on the live form URL.
- Ad blockers: Browser extensions that block Facebook scripts will prevent the pixel from firing during your test. Disable them or use an incognito window without extensions.
- Assuming workspace-level integration: Typeform does not offer a workspace-wide Facebook pixel setting. You must add it to each form individually.
- Not enabling the Lead event: If you only enable PageView, form submissions will not be tracked as conversions. Enable the submit event if you need conversion tracking.
- Testing with the same browser session: Facebook may deduplicate events if you reload the form multiple times. Use a fresh incognito window for each test.
Tips
- Keep a record of which pixel ID belongs to which ad account to avoid confusion when managing multiple clients.
- Use Facebook's Test Events tool to verify events in real time before launching a campaign.
- If you need to track multiple events (e.g., partial completions), consider using Typeform's hidden fields to pass data and a custom HTML embed, but note that Typeform's native integration only supports basic events.
- Regularly check Events Manager for errors or warnings related to your pixel, such as missing event parameters.
- If you use a workspace with multiple forms, create a checklist to ensure each form has the pixel added before publishing.
Troubleshooting
If the pixel does not fire after following the steps, try these checks in order:
- Verify the pixel ID: Re-copy the ID from Events Manager and paste it again. Ensure no spaces or extra characters.
- Check the form is published: Open the form's public URL (not the editor) and look for the Facebook pixel request in your browser's developer tools (Network tab, filter by "facebook").
- Disable ad blockers: Turn off any extensions that block trackers, or test in a clean incognito window.
- Confirm the integration is saved: Return to the Connect tab and ensure the Facebook Pixel integration shows as connected.
- Check Facebook Events Manager: Look for the pixel's activity. If no events appear, the pixel may be inactive or restricted. Ensure your ad account is in good standing.
- Try a different browser: Some browsers have strict tracking prevention. Test in Chrome or Firefox with default settings.
- Contact support: If all else fails, reach out to Typeform support with your form URL and pixel ID; they can check if the integration is functioning on their end.
Frequently Asked Questions
Can I add a Facebook pixel to an entire Typeform workspace at once?
No. Typeform's Facebook Pixel integration is configured per form, not per workspace. You need to add the pixel to each form individually.
Does the pixel track form submissions automatically?
Only if you enable the submit event (often labeled Lead) in the integration settings. By default, only PageView may be tracked.
Why is my pixel not showing events in Facebook Events Manager?
Common causes include an incorrect pixel ID, testing on the editor preview instead of the live form, or ad blockers preventing the script from loading. Check these first.
Can I use the same pixel across multiple Typeform forms?
Yes. You can add the same pixel ID to as many forms as you like. Each form will send events to that pixel.
Is the Facebook Pixel integration available on all Typeform plans?
The integration is available on most paid plans. Check your plan's features in your Typeform account settings or contact support to confirm.
What event should I use for tracking leads?
Use the Lead event, which is designed for form submissions. If you need more granular tracking, you can create custom conversions in Facebook based on the Lead event.