How can I track which form has been submitted?
With a URL parameter
If you created multiple web forms for the same Podio app, it might be useful to track in Podio which form was submitted. This allows you to A/B test web forms or to track which channels are used the most.
In order to achieve this, you can follow this steps:
- Add a single choice category field to your app template where each value refers to a different web form.
Add a category field 'Source' with values 'newsletter' and 'webpage'.
- Add this field to your web form and set the display setting to ‘hidden’
- For each web form, pre-fill the value of this category field with the corresponding value
https://f.momentumtools.io/?form=ztyqflozrrwt&source=1 for the web form that is submitted via the newsletter
The form submissions from the different web forms will then be flagged with the corresponding source value.
Pre-fill it from the embed code
If the form is embedded on your website, you can set the same value in the embed code instead of the URL. Add a data-prefill attribute with the external ID of the hidden category field and the number of the option:
<div id="momentumtools-form" data-form="v4_..." data-prefill='{"source": 1}'></div>
A category field always takes the number of the option (the same number as in the URL example above), not its label.
Fill the field in without a URL parameter
Category fields shown as radio buttons or checkboxes have no Default value setting in the form builder. To tag every submission without a URL parameter or embed code, use a single-line text field instead, for example "Source". Open the settings of that field component, set Default value to the label for that form, for example CONTACTFORM, and check Hidden. Every submission of that form then arrives in Podio with that value filled in.
This also separates form submissions from items your team creates by hand in Podio. Items created manually leave the field empty, so a Podio automation with the filter “Source is CONTACTFORM” runs for the form only. Give each form its own default value and you can count submissions per form in a Podio report on that field.