# Set up SourceTag with Formidable Forms

Canonical: https://sourcetag.io/docs/fields-formidable-forms

Formidable Forms has a visual form builder with a dedicated Hidden field type. You add one field per SourceTag data point, then set the field key to match.

## What you need

- SourceTag installed on your site (script tag or WordPress plugin)
- Formidable Forms (free or Pro)

## Step 1: Open your form in the Formidable editor

Go to **Formidable > Forms** and click on the form you want to track.
## Step 2: Add hidden fields

1. In the form editor, look at the field panel on the right
2. Scroll down to the **Misc** section (sometimes called "Advanced Fields" depending on your version)
3. Click **Hidden** to add a hidden field to your form
4. Repeat for each SourceTag field you need


### Core fields (add these)

Add a hidden field for each of the following:

- `st_fc_channel`
- `st_fc_detail_1`
- `st_fc_detail_2`
- `st_fc_detail_3`
- `st_fc_detail_4`
- `st_lc_channel`
- `st_lc_detail_1`
- `st_lc_detail_2`
- `st_lc_detail_3`
- `st_lc_detail_4`
- `st_fc_landing_page`
- `st_lc_landing_page`

### Optional extended fields

If you have enabled extended field groups in your SourceTag dashboard, also add:

- `st_fc_click_id` and `st_lc_click_id` (click IDs)
- `st_visits` (visit count)
- `st_days_to_convert` (days since first visit)
- `st_device` (device type)

See [Captured Fields](https://sourcetag.io/docs/captured-fields) for the full list of available fields.

## Step 3: Set the field key

This is the important bit. For each hidden field:

1. Click on the hidden field in the form editor
2. In the field settings panel, find the **Field Key** setting
3. Set it to the SourceTag field name exactly (e.g. `st_fc_channel`)
4. Leave the **Default Value** empty

The field key is what SourceTag uses to locate and populate the field. It must match the SourceTag field name precisely, including case and underscores.


## Step 4: Save and test

Click **Update** to save your form. Visit a page with this form using UTM parameters:

```text
?utm_source=test&utm_medium=cpc&utm_campaign=formidable-test
```

Submit the form. Go to **Formidable > Entries** and open the test submission. The hidden fields should contain your attribution data.
## Tips

- You can copy field names from the Fields page in your SourceTag dashboard (each name has a copy button).
- Hidden fields are not visible to visitors. They only appear in entries and email notifications.
- If you are sending form data to a CRM or email marketing platform, make sure you map the hidden fields in your integration settings.
- Formidable's Visual Views and reports can display hidden field data, which is handy for building attribution reports inside WordPress.
