Start here
We recommend checking form capture inside Cometly first: go to Setup > Install the Cometly pixel and use Test form tracking (see Test form tracking). You can also use the Cometly Pixel Helper Chrome extension. This article is an advanced alternative. It shows you how to use your browser’s inspect tool to confirm that the Cometly pixel captures form data on your web page.How form capture works
When a visitor fills out a form on your site, the Cometly pixel automatically updates their contact with key details: first name, last name (or full name), email and phone number, given that the visitor has arrived via an ad. Follow the steps below to confirm this is working on your forms.Validate form capture step by step
- Open the inspect tool. Right-click anywhere on your web page and select Inspect to open the developer tools.
- Go to the Network tab. In the developer tools, click the Network tab to see all network activity on your page.
-
Filter for Cometly. Type
cometinto the filter bar of the Network tab to show only Cometly-related network activity. - Reload the page. With the filter applied, reload your web page. Entries related to the Cometly pixel should appear.
- Fill out the form. Enter test data for first name, last name (or full name), email and phone number.
-
Watch the network activity. As you type into each form field, the Network tab should update with events like
first_name_changed,last_name_changed,full_name_changed,email_address_changedandphone_changed.
Troubleshooting
-
The events do not appear. If these events do not show as you fill out the form, the form fields may not be named or set up correctly. The input fields should have names like
first_name,last_name,phoneandemail, or similar variations. - The form is in an iframe. If your form is inside an iframe, especially one from an external source, the pixel might not capture data as usual. See how to track iframes in your funnel.
- Nothing above applies. When the data does not update in the Network tab and your form is not an external iframe, contact Cometly support.
Confirm form capture is working
Fill out the form again with the Network tab open and filtered tocomet. Form capture is working when an event such as email_address_changed or phone_changed appears for each field as you type into it.
To confirm it inside Cometly as well, test form tracking on the same page. The page should appear under Tested pages with the status Forms detected.
Frequently asked questions
Do I need to submit the form to validate form capture?
No. The pixel sends an event as you type into each field, so entering test data is enough to see the events in the Network tab. The Test form tracking tool in Cometly works the same way and asks you not to submit the form.Does the Cometly pixel capture form fields other than name, email and phone?
No. Cometly only captures form fields related to name, email and phone. Email is the most important one, because Cometly uses it to connect a form submission to the right person.Why does the Cometly pixel not capture my third-party form?
Some third-party form tools need extra setup before the pixel can detect their forms, and a few (Google Forms and Fresha) are not supported. See Form tracking for third-party embedded forms for the supported tools and their setup guides.Next steps
- Test form tracking inside Cometly
- Troubleshoot form tracking when a form or field is not detected
- Track forms inside iframes
- Set up form tracking for third-party embedded forms
- Check your pixel with the Cometly Pixel Helper