# Tracking UTM parameters

- **Author**: Chirag Shah
- **Category**: URL parameters
- **URL**: https://help.neetoform.com/articles/tracking-utm-parameters

---

UTM parameters are variants of URL parameters that marketers use to track how well a campaign is performing. The five standard ones are `utm_source`, `utm_medium`, `utm_campaign`, `utm_content` and `utm_term`. A tagged link looks like this:

```
https://example.com/pricing?utm_source=linkedin&utm_medium=social&utm_campaign=summer_sale
```

NeetoForm captures these values by storing them in hidden fields on your form, so every submission tells you which campaign or channel it came from without respondents seeing [anything.](http://anything.How)

## Adding a field for each parameter

1. Add a **Text input** question for each parameter you want to capture, and give it a label you will recognise later, such as UTM source.
2. Open **Advanced properties** in the question panel and set **Field code** to the parameter name, for example `utm_source`.
3. Turn on **Hide question** so respondents never see the field.
4. Publish the form.

## Tracking parameters on a shared form link

When you send people straight to your form link, add the parameters to the end of the link and change the values for each channel you share it on.

```
https://example.neetoform.com/your-form?utm_source=linkedin&utm_medium=social
```

## Tracking parameters on an embedded form

When the form is embedded on your own website, visitors land on your page rather than on the form link, so parameters added to the form link are never used. Auto-forwarding solves this by passing the parameters from your page's own URL into the embedded form.

1. Go to the **Share** tab and select **Embed in a webpage**.
2. Choose **Inline embed**, **Popup via sticky button** or **Popup via custom trigger**.
3. Turn on **Auto-forward query parameters**.
4. Click **Copy code** and paste it into your webpage.

Someone who arrives at `https://example.com/pricing?utm_source=linkedin` and fills in the form now has `linkedin` saved against the utm\_source field.

The switch changes the code you copy rather than the form itself, so if you turn it on after the code is already on your site, copy the code again and replace what is there. Auto-forwarding is available for the inline and popup embeds; the iframe embed does not support it. Parameters are forwarded exactly as they appear in your page URL, so avoid putting passwords or personal details in them.

## Recording which page a submission came from

When the same form sits on several pages, you can label each copy so submissions tell you which page they came from.

1. Add a **Text input** question, set its **Field code** to something like `source_page`, and turn on **Hide question**.
2. On the embed screen, find **Pre-fill fields** and enter the field code and the value for that page.
3. Click **Add pre-fill field** if you want to record more than one value.
4. Click **Copy code** and paste it into that page.

Repeat for each page, giving each one its own value. A value set in Pre-fill fields takes priority over a forwarded parameter with the same field code, so give the two different field codes if you use both.

[![SCR-20231108-rmny.png](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWt3T1dFNE1HUTNNQzB6WlRNMkxUUXhOVEV0WWprd1pDMW1abVU0TVRVMFpqUm1aREVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--c8a766d95666a2470fca65db04c42949cd56b94b/SCR-20231108-rmny.png)](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWt3T1dFNE1HUTNNQzB6WlRNMkxUUXhOVEV0WWprd1pDMW1abVU0TVRVMFpqUm1aREVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--c8a766d95666a2470fca65db04c42949cd56b94b/SCR-20231108-rmny.png)
_Selecting the text input field_

## Where the captured values appear

Each captured value is saved with the submission like any other answer, and appears in the Submissions tab as a column you can filter on and save filters for. Downloads include the column too, with (Hidden) added to the header so you can tell it apart from questions respondents answered.