Tracking Formstack forms with Cometly requires adding the necessary HTML code to your form and ensuring the Cometly Pixel is properly installed. Follow the steps below to set up tracking and confirm the data is being captured correctly.
Add HTML Code to Your Formstack Form
Open the Formstack Form Builder:
Navigate to your Formstack dashboard and select the form you want to track.
Add an Embed Code Field:
In the form builder, locate the Embed Code option under the "Advanced Fields" section.
Drag and drop the Embed Code field to the top of your form.
Insert the Cometly Pixel Code:
Click the pencil icon to edit the Embed Code field.
Paste the following script into the field.
Save your changes.
Ensure the Embed Code Field is Visible at the Top of Your Form:
This ensures the Cometly Pixel initializes and begins tracking immediately when the form loads.
Confirm Pixel Installation on the Embedded Form
Verify the Pixel on the Formstack Form:
Ensure the Cometly Pixel code is added to the Formstack form itself (via the Embed Code field).
Verify the Pixel on the Embedded Page:
Ensure the Cometly Pixel is also installed on the webpage where the Formstack form is embedded.
The pixel must exist in both locations to correctly capture form field data.
Test Form Tracking
Use the Cometly Pixel Helper to verify the automatic form field capture for the email address form field.
Send Event Data From Formstack via Cometly Webhooks
Use our Formstack Integration article below to send events for Formstack submissions using Cometly Webhooks.