# UTM tags: What you need to know

<figure><img src="/files/SLLRX2YSOXxI0jsigdfG" alt=""><figcaption></figcaption></figure>

## What are UTM tags?

<figure><img src="/files/cOHP6Pi9WPi4u8qV8hzo" alt=""><figcaption></figcaption></figure>

UTM (Urchin Tracking Module) tags are small pieces of text added to the end of a URL. They allow analytics tools to identify:

* Where the traffic comes from
* Which channel sent the visitor
* Which campaign generated the click

When a customer clicks a link in your back-in-stock email, UTM tags pass tracking data to your analytics platform.

Here is what a UTM link looks like:

```
https://yourstore.com/products/example-product?utm_source=xflow&utm_medium=email&utm_campaign=back-in-stock
```

{% hint style="info" %}
Structure breakdown:

* **Base URL:**\
  `https://yourstore.com/products/example-product`
* **UTM Parameters:**\
  `?utm_source=xflow&utm_medium=email&utm_campaign=back-in-stock`

Each parameter is separated by `&`, and they help track where the traffic comes from and which campaign generated the click.
{% endhint %}

{% hint style="success" %}
After enabling UTM Tags in XFlow, you can **view performance data** inside your **Analytics Platform** (such as [Google Analytics](https://developers.google.com/analytics/devguides/collection/ga4)).
{% endhint %}

## UTM tags included in XFlow

#### utm\_source: Identifies where the traffic comes from

{% hint style="info" %}
⭐ Example:

```
utm_source = XFlow
```

This tells analytics that the visit originated from XFlow app.
{% endhint %}

#### utm\_medium: Defines the marketing channel

{% hint style="info" %}
⭐ Example:

```
utm_medium = email
```

This helps you group all email traffic together in analytics reports.
{% endhint %}

#### utm\_campaign: Tracks the specific campaign or automation

{% hint style="success" %}
In XFlow, this is a dynamic variable. You can choose:

* Email name
* Email name + campaign name

This allows you to distinguish performance between different back-in-stock emails or campaigns.
{% endhint %}

## How to use UTM tags in XFlow

{% hint style="success" %}
🌟 Steps:

1. Go to **XFlow → Email templates**
2. Navigate **Email settings → UTM tracking**

* Set your preferred values for:
  * utm\_source
  * utm\_medium
  * utm\_campaign (dynamic variable)

3. Click **Save**
   {% endhint %}

<figure><img src="/files/b5yEFxXHrtFO5XgifYb4" alt=""><figcaption></figcaption></figure>

## Common use cases

Merchants use UTM tracking in back-in-stock emails to:

* Measure revenue generated from restock notifications
* Compare the performance between different products
* Track which campaigns drive the most conversions
* Analyze email performance inside Google Analytics
* Separate XFlow traffic from other marketing channels

### Best practices

* Keep naming consistent across campaigns
* Use lowercase for clean reporting
* Avoid spaces (use hyphens instead)
* Do not manually edit UTM parameters in individual links
* Regularly check analytics to measure restock email performance

***

#### 📩 **Need help?**

We’re here to make your XFlow experience smooth and successful.\
Our support team is always ready to assist you—no matter how big or small your question is.

<a href="https://admin.shopify.com/apps/xflow?chat=true&#x26;utm_source=foxecom&#x26;utm_medium=help_center_xflow_utm_tags_what_you_need_to_know&#x26;utm_campaign=cta_button&#x26;utm_term=chat_now" class="button primary" data-icon="comment-lines">Chat now</a> <a href="mailto:contact@help.xflow.so" class="button secondary" data-icon="envelopes">Message us</a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/xflow-app/email-templates/email-templates-faqs/utm-tags-what-you-need-to-know.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
