Skip to main content
All CollectionsForm Tracking
Troubleshooting Form Tracking For Native Website Forms
Troubleshooting Form Tracking For Native Website Forms

Learn how to troubleshoot the Cometly Pixel not capturing the first name, last name, full name, email, or phone form fields on native forms.

Updated this week

The Cometly Pixel will automatically capture the first name, last name, full name, email address, and phone number on almost all forms. There are rare cases with custom forms where the Cometly Pixel does not automatically capture. If you are not using a third-party embedded form, and the form is native on your website, you may need to edit the form field id's so the Cometly Pixel can capture data.

If you are using a third-party embedded form (e.g., you have placed code on your website to embed the form from another app), please view our list of supported third-party embedded forms.

Understanding How The Cometly Pixel Captures Form Field Data

This is an advanced help article, and you may need assistance from your website developer. Below, we’ll outline the form fields that the Cometly Pixel is designed to automatically capture. Additionally, we’ll provide the specific form field IDs, types, or names you may need to update if the Cometly Pixel is not capturing form data correctly for your native website forms.

When you inspect the page and look at your form field element, you will see see the comet-listener="true" if the Cometly Pixel is listening to capture the form field data when there is an input.

Email

In the email form field example below, you can see type="email" and name="email". You can also see the the comet-listener="true". The Cometly Pixel will automatically capture the email address inputed on this form.

<input class="elFormItem elInput inputHolder required1 garlic-auto-save" value="" type="email" name="email" pattern="" autocomplete="" inputtype="" data-prevent-submit="" data-prevent-garlic="" placeholder="Email Address" maxlength="" comet-listener="true">

The type, id, or name in the input field has to be set to one of the following for the Cometly Pixel to automatically capture:

  • email

  • Email

  • Work-Email

First Name

In the first name form field example below, you can see the name and id are set to First-Name. You can also see the the comet-listener="true". The Cometly Pixel will automatically capture the first name inputed on this form.

<input class="text-field-sales-form email demo-lander w-input" maxlength="256" name="First-Name" data-name="First Name" placeholder="Enter your first name" type="text" id="First-Name" required="" comet-listener="true">

The type, id, or name in the input field has to be set to one of the following for the Cometly Pixel to automatically capture:

  • first-name

  • firstname

  • Firstname

  • First-Name

Last Name

In the last name form field example below, you can see the name and id are set to Last-Name. You can also see the the comet-listener="true". The Cometly Pixel will automatically capture the last name inputed on this form.

<input class="text-field-sales-form email demo-lander w-input" maxlength="256" name="Last-Name" data-name="Last Name" placeholder="Enter your last name" type="text" id="Last-Name" required="" comet-listener="true">

The type, id, or name in the input field has to be set to one of the following for the Cometly Pixel to automatically capture:

  • last-name

  • lastname

  • Lastname

  • Last-Name

Full Name

In the full name form field example below, you can see the name and id are set to Full-Name. You can also see the the comet-listener="true". The Cometly Pixel will automatically capture the full name inputed on this form.

<input class="text-field-sales-form email demo-lander w-input" maxlength="256" name="Last-Name" data-name="Full Name" placeholder="Enter your full name" type="text" id="Full-Name" required="" comet-listener="true">

The type, id, or name in the input field has to be set to one of the following for the Cometly Pixel to automatically capture:

  • full-name

  • fullname

  • Fullname

  • Full-Name

Phone

In the phone form field example below, you can see the type is set to tel and id is set to Phone-Number. You can also see the the comet-listener="true". The Cometly Pixel will automatically capture the phone number inputed on this form.

<input class="text-field-sales-form email demo-lander w-input" maxlength="256" name="Phone-Number" data-name="Phone Number" placeholder="Enter your phone number" type="tel" id="Phone-Number" required="" comet-listener="true">

The type, id, or name in the input field has to be set to one of the following for the Cometly Pixel to automatically capture:

  • tel

  • phone

  • Phone-Number

  • phone-number

Did this answer your question?