# Track campaigns with UTM tags and ref links

The link parameters SuprAnalytics reads (utm_source, utm_campaign, ref, via and more), how a visit's source is chosen, and how its channel is worked out.

SuprAnalytics reads where each visit came from: the referring website, or the parameters on the link that brought the visitor. Add parameters to the links you share and every campaign gets its own row, with its visitors, conversion rate and revenue.

## Parameters SuprAnalytics reads

| Parameter | Report | Example |
| --- | --- | --- |
| `ref` | Referrer (the source) | ?ref=producthunt |
| `via` | Referrer (the source) | ?via=newsletter |
| `source` | Referrer (the source) | ?source=podcast |
| `utm_source` | Referrer and Campaign | ?utm_source=twitter |
| `utm_medium` | Campaign; also sets the channel | &utm_medium=cpc |
| `utm_campaign` | Campaign | &utm_campaign=launch |
| `utm_content` | Campaign | &utm_content=hero-cta |
| `utm_term` | Keyword | &utm_term=analytics |

The source is the first one present of `utm_source`, `ref`, `via` and `source`. Common names are tidied up: `?ref=hn` becomes Hacker News, `x` and `twitter` become X, `fb` Facebook, and so on. Parameters are read on a visit's first page only.

```
https://yourdomain.com/?utm_source=newsletter&utm_medium=email&utm_campaign=october_launch
https://yourdomain.com/pricing?ref=producthunt
```

## Channels

Every visit also gets a channel, shown in the Channel tab:

| Channel | When |
| --- | --- |
| **Direct** | No referrer, no source parameter and no in-app browser: see Direct traffic, told apart, below. |
| **Organic Search** | Google, Bing, DuckDuckGo and other search engines, a link carrying Google's srsltid, or utm_medium=organic. |
| **Paid** | A paid utm_medium (cpc, ppc, paid, cpm, display, ads, sponsored, affiliate…) or an ad click id: gclid, gbraid, wbraid, msclkid, ttclid, li_fat_id, twclid. |
| **Social** | X, Facebook, LinkedIn, Reddit, Hacker News and other social sites, a link carrying fbclid (Facebook) or igsh (Instagram), a social app's in-app browser, or utm_medium=social. |
| **AI** | ChatGPT, Claude, Perplexity, Gemini and other AI assistants. |
| **Email** | utm_medium=email, e-mail, newsletter, mailchimp or drip, or a Mailchimp (mc_cid) or HubSpot (_hsenc) email link. |
| **Referral** | Any other website, or a source SuprAnalytics doesn't recognise. |

> Visits from your own domain (and its subdomains) are never a referrer, so moving from your blog to your app doesn't start a new "source".

## Links shared in apps

Without a parameter, a visit's source is its referrer: the page the link was clicked on. Links opened from apps, such as Reddit, X, Slack or Discord on a phone, or a chat assistant's app, often arrive with no referrer. With no referrer and no source parameter, the visit counts as **Direct**.

### Direct traffic, told apart

Instagram, Facebook, Messenger, Threads, LinkedIn, TikTok, Snapchat, Pinterest, WeChat and LINE open links in their own browser, which names itself but sends no referrer: those visits count as that app, in Social, not Direct. The rest of Direct is split by what it most likely was, each with its own row in the **Referrer** list of the Sources panel (and the **Direct type** filter), for visits since 3 November 2026. Older Direct visits stay together as Direct/None:

| Direct type | When |
| --- | --- |
| **Typed or bookmarked** | A returning visitor, or a new visitor on a computer landing on your home page: they knew your address. |
| **Shared link** | A new visitor landing straight on a page, or on a phone: a link from a chat app, a document or an email client, which send no referrer. |
| **Checkout return** | Back from a payment page: the first page has a checkout id (session_id, checkout_id, checkout_session_id, payment_intent, order_id) or is a success or thank-you page. |
| **Instagram in-app, …** | Opened in an app's browser: counted under the app (Social), in a row of its own to show where Direct would have been. |

These are best guesses from the visit itself; a tag is the only sure way.

Tag the links you post yourself, and the visit is credited whether or not a referrer comes with it:

| Link | Source | Channel |
| --- | --- | --- |
| `yourdomain.com/?ref=reddit` | Reddit | Social |
| `yourdomain.com/?ref=x` | X | Social |
| `yourdomain.com/?ref=chatgpt` | ChatGPT | AI |
| `yourdomain.com/?ref=discord.com` | Discord | Social |
| `yourdomain.com/?utm_source=slack&utm_medium=social` | slack | Social |
| `yourdomain.com/?utm_source=reddit&utm_medium=social&utm_campaign=launch` | Reddit, campaign launch | Social |

- The parameter wins over the referrer: `?ref=reddit` opened from x.com counts as Reddit.
- Names SuprAnalytics knows (`reddit`, `x` or `twitter`, `chatgpt`, `claude`, `perplexity`, `hn`, `producthunt` and others, in any case) get their usual name and channel, and so does a known domain like `discord.com`. Any other value is shown exactly as written, under Referral unless `utm_medium` sets the channel: `?ref=slack` and `?ref=Slack` are two different rows, so keep one spelling.
- The source belongs to the whole visit, and the next visit gets its own. Payments are credited to the first or the last visit, as set in [revenue attribution](https://supranalytics.app/docs/revenue-attribution.md). Campaigns, conversions and revenue per tag: [UTM tracking](https://supranalytics.app/features/utm-tracking).

### What a tag can't do

- Untagged links stay Direct: your bare address pasted in a chat or typed in, and nothing recovers the source later.
- A tag travels with the link: someone who copies your `?ref=reddit` link into Slack is counted as Reddit.
- You can only tag links you write. Links an AI assistant puts in its answers count by their referrer or their own tag, such as `utm_source=chatgpt.com`: see [AI traffic analytics](https://supranalytics.app/features/ai-traffic).

---

This page on the web: https://supranalytics.app/docs/tracking-parameters
Every documentation page: https://supranalytics.app/docs.md
