Skip to content
Social platforms

UTM parameters for X (Twitter) posts

2 min read · Updated · By the Reveata team

Short answerFor links you post on X, use utm_source=x&utm_medium=social&utm_campaign=your-topic, or the shorter ?ref=x when you only need the source. Reveata puts both in Organic social with X as the source.

Reveata already recognises visits from x.com, twitter.com and t.co as X, so an untagged link still lands in Organic social. Tagging adds two things the referrer cannot: which post or thread brought the visitor, and a source for visits that arrive with no referrer at all, which happens with some app links.

Two ways to tag

The short way, when you only care that it was X:

text
https://example.com/?ref=x

The full way, when you want to compare posts or campaigns:

text
https://example.com/launch?utm_source=x&utm_medium=social&utm_campaign=launch-week&utm_content=thread-1
Parameter Value In Reveata
utm_source x Source "X" (twitter and tw work too)
utm_medium social Channel Organic social
utm_campaign launch-week What the post was about
utm_content thread-1 Which post, if you share the link more than once

Both versions land in the same channel with the same source name, so you can mix them. ref just has no campaign.

Where to use which

  • Your profile link: ?ref=x-bio. It is short, and the Campaign tab's ref view keeps bio clicks apart from post clicks.
  • A launch thread or a post you will measure: the full UTM set, with utm_content to tell the first post from the follow-up.
  • Replies and quick links: often nothing. The referrer already says X.

A worked example

You post a thread on Monday and a demo video on Thursday, both linking to the same page:

text
https://example.com/launch?utm_source=x&utm_medium=social&utm_campaign=launch-week&utm_content=monday-thread
https://example.com/launch?utm_source=x&utm_medium=social&utm_campaign=launch-week&utm_content=thursday-video

In Reveata's Campaign tab, switch to the utm_content view and you see visits and, once payments are connected, revenue for each post.

Promoted posts belong in Paid social. Tag those with utm_medium=paid_social as described in UTM parameters for X Ads. Keep social for your unpaid posts, and the channel column separates the two.

Common mistakes

  • Tagging links to your own site from your own site. A tagged internal link starts a new attribution and hides where the visitor really came from. Tag only links you post elsewhere.
  • Twitter, twitter and x across the team. Reveata maps all three to X as the source, but the Campaign tab's raw utm_source view lists them separately. Agree on x.
  • A link shortener that drops the query string. If you shorten tagged links, open the short link once in a private window and check the tags are still on the page you land on.

Frequently asked questions

Do I need to tag links on X at all?

Not for basic counting: visits from x.com and t.co are recognised. Tag when you want to compare posts, or when you notice X visits arriving as Direct.

Why does an X visit show as Direct?

Some apps open links without sending a referrer. If the link carried no tag, Reveata has nothing to go on. A ?ref=x or UTM tag fixes it.

Is ?ref=x as good as UTM tags?

For the source and channel, yes. It has no campaign or content field, so use full UTM tags for posts you want to compare.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
UTM guideUTM parameters for X AdsAdd utm_source=x&utm_medium=paid_social&utm_campaign=your-campaign to the website URL of every X ad. Reveata counts those visits as Paid social with X as the source, separate from clicks on your ordinary posts.UTM guideUTM parameters for LinkedIn postsFor links you share on LinkedIn, use utm_source=linkedin&utm_medium=social&utm_campaign=your-topic, or ?ref=linkedin for a quick link. Reveata counts both as Organic social with LinkedIn as the source.UTM guideUTM parameters for a Product Hunt launchFor a Product Hunt launch, use ?ref=producthunt on your website link, or utm_source=producthunt&utm_medium=social&utm_campaign=launch when you want campaign detail. Reveata counts both as Organic social with Product Hunt as the source.UTM guideUTM parameters for Bluesky postsFor links you post on Bluesky, use utm_source=bluesky&utm_medium=social&utm_campaign=<topic>, or the shorter ?ref=bsky. Reveata counts both as Organic social with Bluesky as the source.UTM guideUTM parameters for Facebook pages and groupsFor links on your Facebook page or in groups, use utm_source=facebook&utm_medium=social&utm_campaign=<topic>. Reveata counts them as Organic social with Facebook as the source. The fbclid Meta adds is never treated as paid on its own.UTM guideUTM parameters for Hacker News (Show HN)For a Show HN or a link you submit to Hacker News, a short ?ref=hn is enough, or utm_source=hackernews&utm_medium=social&utm_campaign=show-hn. Reveata counts Hacker News as Organic social, tagged or not, when the referrer is news.ycombinator.com.