Skip to main content
Formstack form tracking in Cometly works through the Cometly pixel, the tracking script you add to your site. To track a Formstack form, add the Cometly pixel to the form itself with an Embed Code field, and make sure the pixel is also installed on the page that holds the form. This matters because the form is where a visitor becomes a lead. When the pixel captures the email typed into your Formstack form, Cometly can connect that person to events (the leads, sales and other actions Cometly records) from your integrations, so you can see which ad or channel produced them.

Before you start

Copy your Cometly pixel. In Cometly, go to Setup > Install the Cometly pixel, find Install the pixel and click Copy Code. See Install the Cometly pixel for the full walkthrough.

Add the pixel to your Formstack form

1

Open the form in the Formstack form builder

In your Formstack dashboard, select the form you want to track.
2

Add an Embed Code field

In the form builder, find Embed Code under Advanced Fields and drag it to the top of your form.
Formstack form builder with the Embed Code field highlighted under Advanced Fields
3

Paste the Cometly pixel

Click the pencil icon to edit the Embed Code field, then paste your Cometly pixel into the code box.Save your changes.
4

Keep the Embed Code field at the top of the form

This makes the Cometly pixel load and start tracking as soon as the form loads.

Confirm the pixel is in both places

The pixel must be in both locations for Cometly to capture form field data:
  • On the Formstack form itself, through the Embed Code field you added above.
  • On the web page where the form is embedded.

Test form tracking

Use the Cometly Pixel Helper to check that the email address field is captured automatically as you fill in the form.

Check it worked

Open the Cometly Pixel Helper on the page that holds your form. You should see an Init event, which means the pixel is firing, and the email address you type into the Formstack form should show in the Pixel Helper.

Send Formstack submissions to Cometly as events

To send an event to Cometly for each Formstack submission, use a Cometly webhook: Set up the Formstack integration

Frequently asked questions

Which Formstack form fields does Cometly capture?

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.

Can I test Formstack form tracking without the Chrome extension?

Yes. In Cometly, go to Setup > Install the Cometly pixel and use Test form tracking. The Test form tracking guide walks you through it.

Why is Cometly not capturing the email from my Formstack form?

Check that the pixel is in both places: in the Embed Code field at the top of the form, and on the web page where the form is embedded. If the email is still not captured, follow the form tracking troubleshooting guide.

Next steps

Still have questions or need a hand? We’re happy to help. Reach our team at support@cometly.com.