Webflow sync, pageviews & more.
NEW
Answers

How can I track a form's source in Webflow using hidden fields?

Tracking a form's source in Webflow can be done using hidden fields. Hidden fields are essentially form fields that are not displayed to the user but are still submitted along with the rest of the form data. By populating a hidden field with a value that represents the source of the form submission, you can track and analyze where your form submissions are coming from. Here's how you can set this up:

1. Open your Webflow project and go to the page where your form is located.
2. Select the form element and open the Form Block settings panel on the right-hand side.
3. Within the Form Block settings, scroll down to the "Form settings" section.
4. Click on the "Add Field" button to add a new field to your form.
5. Select the "Hidden" field type from the available options.
6. Double-click on the newly added hidden field to open its settings.
7. In the Field settings panel, enter a name for the hidden field. For example, you can name it "source".
8. In the "Default Value" field, enter the value that represents the source of the form submission. This value can be static or dynamically generated depending on your needs. For example, you can set the default value to "website" to indicate that the form submission came from your website.
9. Close the Field settings panel.
10. Save your changes and publish your website.

Now, whenever a user submits the form, the value specified in the hidden field will be sent along with the rest of the form data. You can then use this hidden field value to track and analyze the source of your form submissions.

To view the hidden field value and track it, you can integrate Webflow with various analytics or CRM tools. For example, you can set up custom events or goals in Google Analytics and pass the hidden field value as a custom dimension. This way, you can track the source of form submissions in your analytics reports.

Remember to regularly review and analyze your form submission data to gain insights into the effectiveness of your marketing campaigns and sources.

Rate this answer

Other Webflow Questions