# How to add Meta Pixel to my Form?

You can easily track your form’s performance using Meta Pixel (formerly Facebook
Pixel) in WhatsForm. This allows you to collect user interaction data and
improve your ad targeting on Facebook and Instagram. Below are the steps to
integrate Meta Pixel with your WhatsForm.


CREATE META PIXEL

Let's take you through the steps of creating the Meta Pixel, if you are doing
this for the first time. Login to Meta Business Account and go to Events
Manager and click on Connect Data.





In the pop-up, Select Web and click Next.





Then Select your Dataset or Create new dataset, then click Next.





Choose Set up Manually, then Next.





Choose Meta Pixel, then click Next.





Finally, select the Finish button.





ADD YOUR DOMAIN NAME TO THE ALLOW LIST

Select your Dataset then go to its Settings option scroll down and select Create
allow List.





Add whatsform.com or your custom Domain Name to the list and click Close.






COPY THE DATASET ID

Select your Dataset (Pixel) Name then go to Settings, then Copy the Dataset ID.






PASTE THE DATASET ID

Go to your form's Settings and then click on Integrations to see all integration
options. Choose Meta Pixel Analytics.

Paste the tracking ID and click on Add.




TEST EVENT CREATION

Go to your WhatsForm and fill out the form a couple of times.


REAL TIME EVENTS

WhatsForm creates two types of Events for every conversation.

The Event Actions are:

 1. WhatsformView This event is triggered whenever the Whatsform URL is visited.
    This event is triggered without particular user action.

 2. WhatsformSubmit - This event is triggered when a user submits the form.

On your Meta Dashboard, go to Events Manager > Data Sources > Your Dataset Name
> Overview to see these events live. You should see the events.



Note



Sometimes, it takes a few minutes for the events data to reflect in the
dashboard.