How to Integrate Yay! Forms with the Facebook/Meta Pixel
This guide details the process of native integration between Yay! Forms and Meta Ads (Facebook Ads), using Meta’s
Conversion API to send events automatically and reliably. It will help you connect your Meta Pixel, validate event
delivery, understand which events are sent by default, and configure optional enhancements such as custom events, domain
verification, advanced matching, and incomplete form event sending.
If you want, we also have a video tutorial explaining step by step how to do this setup:
How to configure Meta Ads conversion events natively via API in Yay! Forms
1. Prerequisites
- Yay! Forms account with a form created.
- Facebook ad account with a Pixel already created.
- Form with fields that capture important data (name, email, etc.).
2. Setting Up the Integration with the Meta Pixel
Access the desired form and select the Integrate tab. In this section, you will find the option related to the Facebook
Pixel. Click Configure to proceed with setting up your Pixel.
Now, you need to obtain the Pixel name, the Pixel ID, and the corresponding access token. To do this, access Facebook’s
Events Manager. Then, select the desired Pixel and copy the required data, as shown in the images below.
After obtaining this data, go to Yay! Forms and click Connect Meta account.
Then, fill in the data obtained in the corresponding tab and click Save:
3. Testing Events in Meta
If you want to test the integration in real time, access Events Manager and go to the Test events tab. Then click
Confirm your server events are set up correctly, as shown in the image below:
Right after that, copy the test code:
In Yay! Forms, paste this code into the test section:
It is important to remove this test event after verification; otherwise, Facebook may interpret that the information
coming from this configuration is only for testing and disregard it.
4. Default Events Sent by Yay! Forms
Yay! Forms sends the following events by default:
YFView/PageView - When the form is loaded.
YFStart - When the user starts filling it out.
YFAnswer- For each question answer.
YFSubmit - When the form is submitted.
5. Creating Custom Events
You can also create a custom event and define a condition for it to be sent to Facebook. To do this, first you must
enable the option "Enable custom conversions".
Event Name: Enter the name of the custom event in the corresponding box.
Condition to trigger the Event: Enter the formula or expression for the event to be triggered. Neste link you can find
all the details on how to create conditional formulas or expressions.
Custom event case-insensitive: Check this option if you want the event execution to be case-insensitive in the previous
expression.
**Multiple custom events: **You can have multiple custom events—just click the "Add condition" option so you can send
more custom events with different conditions.
Tip: if you want the conversion to always happen, just enter the word TRUE in the prompt.
6. Verifying Domain for Quality Improvement (Optional)
Copy your form’s subdomain in Yay! Forms, as shown below:
Then create a new domain in Facebook Business Manager:
Add the domain you copied earlier from Yay! Forms:
Copy the domain meta tag, as shown below:
Finally, paste it into your integration and click Verify on Facebook.
7. Event Scoring and Advanced Data
You can check the option "Advanced matching", allowing our AI to collect compatible data from the response, such as
name, email, age, gender, location, etc., and send this information to Facebook to increase the event score.
8. Sending Events with an Incomplete Form
If you want an event to be triggered even if the user does not complete the form (as long as the condition configured
earlier is true), enable the Send incomplete responses option.
9. Final Guidelines
You must manually approve them on Facebook in order to use them in campaigns, as shown below:
- If your ad account and Pixel are in different Business accounts, share the assets.
- In the ad set, select the desired conversion event (after approval).
- Always test your settings before launching an official campaign.
If you have any questions or suggestions, send an email to [email protected].
Conclusion
You learned how to connect Yay! Forms to Meta Ads using the Conversion API, validate event delivery in Meta’s Events
Manager, and understand the default events sent by Yay! Forms. The article also covered how to create conditional custom
events and apply optional improvements such as domain verification, advanced matching for better event scoring, and
sending events even when a form is not completed.