Log inStart free

UTM by network

UTM parameters for Mastodon: what to use

For Mastodon, use utm_source=mastodon and utm_medium=social, plus a campaign that names the post, such as utm_campaign=dark-mode. Keep every value in lowercase, with hyphens between words.

Build this linkUpdated

The values to use

  • utm_source: mastodon
  • utm_medium: social
  • utm_campaign: what the post is about, such as dark-mode
  • utm_content: only if the same post carries two links, to tell them apart
Example link
https://yoursite.com/?utm_source=mastodon&utm_medium=social&utm_campaign=dark-mode

The short version

If you measure with upTake, one parameter is enough: the ?ut= tag, with the network first and the post after. The script reads it, files the visit, then removes it from the address bar.

Example ?ut= link
https://yoursite.com/?ut=mastodon-dark-mode

Where to put the link on Mastodon

  • At the end of the post.
  • In your profile's metadata fields, with its own tag.

What Mastodon does to links

Mastodon counts every link as 23 characters, whatever its length, in a post of 500 characters by default, and its documentation discourages link shorteners. Keep the full tagged link.

What to watch out for

  • Posts are spread across many servers: the referrer is often a server you have never heard of. The tag keeps them under one source.

Check a tagged link →

Measure it all the way to payments

A tag tells you where a visit came from. With upTake's script on your site and your payment provider connected, each Mastodon post's link shows the signups and payments that followed, not only the clicks.

upTake and Mastodon →

Questions

Is utm_source=mastodon the same as utm_source=Mastodon?

Not in Google Analytics, where values are case sensitive: they become two sources. Pick the lowercase form and keep it.

Do I need a different link for each Mastodon post?

Yes, if you want to know which post worked: keep the same source, and change the campaign, or the ?ut= tag, for each post.

Sources

Facts about other services come from their own pages, read on November 18, 2026. They change: follow the links for what they say today.

See which of your posts bring customers

Free plan · No card · 5-minute setup

Create your projectSee a live demo