> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up UTM tracking

> Learn how to enable and use UTM tracking in SuperOffice Marketing to capture lead sources.

UTM tracking lets SuperOffice capture the source, medium, and campaign that generated a lead. This setup ensures that every form submission can be traced back to the marketing activity that drove it.

You need to complete a **one-time setup** (by an administrator or web developer) and perform a few **recurring steps** for each campaign.

## Step overview

| Step                                               | Who           | Frequency                                    | Purpose                                                        |
| -------------------------------------------------- | ------------- | -------------------------------------------- | -------------------------------------------------------------- |
| **1. Enable UTM data transfer**                    | Administrator | One time                                     | Allow forms to capture UTM data and store it in CRM fields.    |
| **2. Add the UTM tracking script to your website** | Web developer | One time                                     | Enable persistent UTM tracking across pages and sessions.      |
| **3. Create UTM-tagged campaign links**            | Marketer      | For each campaign                            | Identify where traffic originates.                             |
| **4. Apply the UTM link in campaigns**             | Marketer      | For each campaign                            | Use the tagged links across ads, emails, and social media.     |
| **5. Publish your form correctly**                 | Marketer      | For each campaign                            | Ensure your form is published in a way that captures UTM data. |
| **6. Test and verify the setup**                   | Marketer      | After initial setup and before each campaign | Confirm that tracking and data capture work correctly.         |
| **7. Analyze and visualize results**               | Marketer      | After each campaign                          | Measure campaign performance in dashboards and reports.        |

<h2 id="enable">
  1. Enable UTM data transfer
</h2>

**Who:** Administrator

**When:** One time

Enabling UTM data transfer lets SuperOffice collect information about where visitors came from when they submit a form.

The data becomes available on both the **contact card** and **form submission** records.

1. Go to **Settings and maintenance** > **Marketing**.
2. Turn on **Enable UTM data transfer on form submissions**.

   ![The Marketing preferences page in SuperOffice Settings and maintenance, showing the option to enable UTM data transfer on form submissions and instructions for adding a UTM tracking script and campaign parameters. -screenshot][img1]

<h2 id="script">
  2) Add the UTM tracking script to your website
</h2>

**Who:** Web developer or person managing your website

**When:** One time

This script enables persistent tracking. It listens for UTM parameters in the URL and stores them temporarily in the browser, so even if a visitor browses several pages before submitting a form, the first touch data is still recorded.

1. Copy the script below.
2. Paste it into your website's code directly after the `<head>` tag.
3. Publish the updated page.

```html theme={null}
<script src="https://sod2.superoffice.com/CustXXXXX/cs/javascript/utm.js"></script>
```

<Tip>
  Without the script, UTM data is still captured for direct form links but not for visitors who navigate between pages before submitting.
</Tip>

<h2 id="build-url">
  3. Create UTM-tagged campaign links
</h2>

**Who:** Marketer

**When:** For each campaign

UTM parameters identify where your visitors come from, and how they engage with your campaigns.

You can add these parameters manually or use a UTM builder tool.

```text theme={null}
https://yourcompany.com/signup?utm_source=linkedin&utm_medium=social&utm_campaign=webinar_sept

```

Use the [SuperOffice UTM builder for form pages][1] or [Google's Campaign URL Builder][4] to generate consistent campaign URLs and reduce manual errors.

**Standard parameters:**

utm\_source, utm\_medium, utm\_campaign, utm\_term, utm\_content

For descriptions and naming conventions, see [UTM parameters][2].

<h2 id="tag">
  4. Apply the tagged URL in your campaigns
</h2>

**Who:** Marketer

**When:** For each campaign

Use the tagged link wherever you promote your campaign, such as:

* Blog call-to-action buttons
* Email newsletters
* Facebook ads or retargeting
* Google Ads
* LinkedIn posts

<h2 id="publish">
  5. Publish your form correctly
</h2>

**Who:** Marketer

**When:** For each campaign

SuperOffice can capture UTM data whether your form is **embedded** on your website or **hosted** by SuperOffice.

| Method                                    | Description                                                                    | Captures first touch?                                    |
| ----------------------------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------- |
| **Embedded form**                         | Add the tracking script to your site and use a landing page URL with UTM tags. | <i class="ph ph-check-circle" aria-hidden="true" /> Yes  |
| **SuperOffice-hosted form (direct link)** | Add UTM parameters to the SuperOffice form URL.                                | <i class="ph ph-warning-circle" aria-hidden="true" /> No |

<Tip>
  Do not link directly from your website to a SuperOffice-hosted form, as UTM tags will be lost between pages.
</Tip>

<h2 id="test">
  6. Test and verify the setup
</h2>

**Who:** Marketer

**When:** After initial setup and before each new campaign

1. Click one of your campaign links.
2. Fill out and submit the form.
3. Open the new contact card in SuperOffice.
4. Confirm that the **source**, **medium**, and/or **campaign** fields contain data.

If data is missing, check that:

* The tracking script is correctly installed.
* The UTM parameters are spelled and formatted properly.
* The browser cookies are not blocked or cleared between visits.

<h2 id="analyze">
  7. Analyze and visualize results
</h2>

**Who:** Marketer

**When:** After each campaign

Once data is captured, you can measure performance in dashboards and reports.

* View new leads by **first touch source** (which channel generated traffic).
* View new leads by **campaign** (which campaign generated conversions).
* Build a **dashboard tile** showing new leads by source, medium, or campaign for the current year.

Learn more about dashboards in [Marketing dashboards and reports][5].

[2]: ../learn/parameters

[1]: ../../forms/learn/publish

[4]: https://ga-dev-tools.google/campaign-url-builder

[5]: ../../../dashboard/learn/show-leads

[img1]: /media/loc/en/marketing/conversion-tracking.png


## Related topics

- [Set up lead management](/en/lead/admin/index.md)
- [UTM parameters](/en/marketing/utm/learn/parameters.md)
- [Conversion tracking](/en/marketing/utm/learn/index.md)
- [Publish forms](/en/marketing/forms/learn/publish.md)
- [Tutorial - simple Google Analytics email tracking](/en/marketing/tracked-links/learn/ga-tutorial.md)
- [Change tracking](/en/online/mirroring/change-tracking.md)
