# Set up SourceTag with Instapage

Canonical: https://sourcetag.io/docs/fields-instapage

Instapage's landing page builder includes a form editor that supports hidden fields. You add one hidden field per SourceTag data point and set the field name to match.

## What you need

- SourceTag installed on your Instapage landing page (added via Instapage's JavaScript settings)
- An Instapage landing page with a form

## Step 1: Add SourceTag to your Instapage page

1. In the Instapage page builder, go to **Settings > JavaScript** (or **Custom Code**)
2. In the **Head** section, paste your SourceTag script tag
3. Save


## Step 2: Open the form in the Instapage editor

1. In the Instapage builder, click on your form element to select it
2. Click **Edit Form Fields** (or double-click the form)


## Step 3: Add hidden fields

1. Click **Add Field** (the "+" button)
2. Set the field type to **Hidden**
3. Set the **Field Name** to the SourceTag field name (e.g. `st_fc_channel`)
4. Leave the default value empty
5. Repeat for each field


### Core fields (add these)

- `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 4: Verify field names

Click on each hidden field and check the field name in the properties panel. The name must match the SourceTag field name exactly, including case and underscores.


## Step 5: Publish and test

Publish your Instapage page. Visit it with UTM parameters:

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

Submit the form. Check the lead in Instapage's **Analytics > Leads** section. The hidden field values should appear alongside the visible field data.
## Tips

- You can copy field names from the Fields page in your SourceTag dashboard (each name has a copy button).
- Instapage includes hidden field data in all integrations (webhooks, email notifications, CRM connections).
- If you are using Instapage's built-in A/B testing, add the hidden fields to all page variations.
- Instapage also has its own UTM tracking. SourceTag's hidden fields provide the full attribution picture (first-click, last-click, visit count, etc.) which goes further than basic UTM passthrough.
