Guide 8 of 8

How to track clicks from your X posts with UTM links

Short answer

Add utm_source=x, utm_medium=social and a utm_campaign name to the end of any link you post on X, and your website analytics will report the visits from that link under those labels instead of lumping them in with other traffic.

Key takeaways

  • Google Analytics asks for three parameters on every tagged link: utm_source, utm_medium and utm_campaign.
  • Values are case sensitive, so pick lowercase names and write them down before you start.
  • X counts every link as 23 characters in a post, so a long UTM link costs no extra space.
  • Use utm_content to tell apart two posts that link to the same page in the same campaign.
On this page
  1. What is a UTM link?
  2. Which UTM parameters should you use for X?
  3. How should you name your UTM values?
  4. How do you build and post a UTM link?
  5. Where do you see the results?
  6. How can you track UTM results week by week?
  7. What mistakes break UTM tracking?

Your X analytics can tell you how often people clicked a link in a post, if you have access to the dashboard. It can't tell you what those people did next: whether they read the article, signed up, or left after three seconds. For that you need your website's own analytics, and for your website's analytics to know which post sent someone, the link needs a label. That label is a set of UTM parameters.

A UTM link is a normal URL with a few extra parameters on the end that tell your analytics where the visit came from.

Here is a plain link and the same link tagged:

https://example.com/guide/

https://example.com/guide/?utm_source=x&utm_medium=social&utm_campaign=winter_guide

The page is the same. Visitors see the same thing. But your analytics now records the visit as coming from source "x", medium "social" and campaign "winter_guide", instead of guessing from the referrer.

That guess is often poor for X traffic. Links on X pass through X's t.co redirect, and clicks from inside mobile apps frequently arrive with little or no referrer information. Without tags, a chunk of your X visitors can end up counted as direct traffic.

Which UTM parameters should you use for X?

Use utm_source, utm_medium and utm_campaign on every link, and add utm_content when you need to separate posts within one campaign.

Google Analytics' help center says to always include the first three. The others are optional.

Parameter What it records Example value for X
utm_source Where the visit came from x
utm_medium The type of channel social
utm_campaign The project or promotion winter_guide
utm_content Which post or placement thread_1, pinned, bio
utm_term Paid keyword Usually left out for organic posts

In Google Analytics 4, utm_source and utm_medium appear as Session source and Session medium, and utm_campaign as Session campaign, in the traffic acquisition report.

How should you name your UTM values?

Use lowercase, no spaces, and one fixed spelling per source, because analytics treats "X" and "x" as two different sources.

Google's documentation notes that UTM values are case sensitive. This is the most common way tagged data goes wrong. One week someone types utm_source=Twitter, the next utm_source=x.com, and the report splits the same traffic across three rows.

Write a short naming sheet before you start and keep it where you write posts:

  • Source: always x. If you also post elsewhere, use linkedin, bluesky, newsletter and so on.
  • Medium: always social for unpaid posts. Use something else, such as paid_social, only for ads.
  • Campaign: lowercase words joined by underscores, named after the thing you're promoting: spring_sale, podcast_ep42, profile.
  • Content: what makes this link different: pinned, reply, thread_end, or the date 2026_12_02.

Underscores or hyphens both work. Just pick one.

How do you build and post a UTM link?

Paste your page URL into a campaign URL builder or add the parameters by hand, then post the full link on X.

  1. Start with the clean page address.
  2. Add ? and the first parameter. If the address already contains a ?, add & instead.
  3. Join the rest with &.
  4. Open the finished link in a private window to check that the page loads.
  5. Post it. X counts every link as 23 characters, so the length of your UTM tags doesn't eat into your 280.

Google offers a free campaign URL builder that fills in the parameters from form fields, which is handy while you're getting used to the format. Spreadsheet users can build links with a simple formula that joins the page URL and the values from columns.

Where do you see the results?

In your website analytics, filter traffic by source "x" or by your campaign name to see visits, engagement and conversions from each tagged link.

In Google Analytics 4, open the traffic acquisition report and change the primary dimension to Session campaign or Session source/medium. Other analytics tools have a similar campaigns or sources view.

Look at more than visit counts. Ten visitors who stayed for four minutes and three who subscribed may matter more than two hundred who bounced from a post that went viral for an unrelated reason.

How can you track UTM results week by week?

Log the weekly visits from source "x" next to your follower count, so you can see whether audience growth turns into site traffic.

For most accounts with a website, followers and views matter because of what they lead to. In the Twitter Tracker growth log add a custom metric such as "Site visits from X" and save the weekly figure from your analytics. Notes like "pinned post changed" or "thread with link at the end" make the chart readable months later.

If you want to understand the click side inside X itself, our guide on which numbers matter for a small account explains how link clicks fit next to views and replies.

What mistakes break UTM tracking?

Inconsistent spelling, tagging internal links, and adding tags to links that redirect without passing them on.

  • Mixed capitals or spellings. Fix with a naming sheet and stick to it.
  • Tagging links between pages on your own site. That restarts the session with a new source and wipes out where the visitor really came from. Only tag links placed outside your site.
  • Redirects that drop the query string. Some link shorteners and old redirects strip everything after ?. Click your finished link and check that the parameters are still in the address bar.
  • Changing campaign names mid-campaign. It splits the data in two. Finish the campaign under one name.

Questions

Do UTM parameters affect SEO?
They don't change how a page ranks, but they create extra versions of the URL. A canonical tag on the page tells search engines which address is the main one, and most site platforms add it automatically.
Will X shorten my UTM link?
X wraps every link in its own t.co redirect and counts it as 23 characters, whatever the real length. The UTM parameters survive the redirect and arrive at your site intact.
Should I tag links in my X bio?
Yes, it is one of the most useful places to tag. Use a campaign name such as profile so you can see how many visitors come from your bio rather than from individual posts.
Can I use UTM links if my site doesn't use Google Analytics?
Yes. UTM parameters started with Google's tools, but most analytics services, including privacy-focused ones, read them and show campaign, source and medium in their reports.

Sources