Mastodon is not one website. It is thousands of independently run servers, called instances, that talk to each other. A post you publish on one instance is read by people on many others, and each reader clicks your link from their own server's address. That is the single most important fact for measuring Mastodon traffic.
What Reveata matches
| Field | Value |
|---|---|
| Display name | Mastodon |
| Channel | Organic social |
| Referrer domains | mastodon.social, mastodon.online, mstdn.social |
| Alias for tagged links | mastodon |
The referrer host is lower-cased, www. is removed, and the host must equal one of those domains or be a subdomain of one. These are large general-purpose servers. Every other instance is unknown to Reveata.
Why most Mastodon visits may show up as Referral
A reader on, say, a regional or topic-based instance clicks your link from that instance's web interface. Their browser sends that instance's origin as the referrer. Reveata does not recognise the host, so the visit is classified as Referral, with the instance's host as the source. Your Referral list can then show a long tail of Mastodon servers, each with a few visits.
There is no reliable way to tell from a host name alone that a server runs Mastodon, so Reveata does not guess. Instead, tag your links.
Separately, links opened from Mastodon mobile and desktop apps usually have no web page to refer from. With no referrer and no tag, those visits count as Direct. Even web visits share only the server's origin by default, not the post's address (MDN: Referrer-Policy (opens in a new tab)).
One tag for every instance
Because a tagged link names its own source, the instance a reader clicked from no longer matters:
https://example.com/?ref=mastodonEvery click on that link is counted as Mastodon in Organic social, whether it came from mastodon.social, a small community server or an app. For more detail per post, use UTM parameters:
https://example.com/release-notes?utm_source=mastodon&utm_medium=social&utm_campaign=v2-releaseThe value mastodon is matched without regard to case. Federation copies your post, including the full link, to other servers, so the tag travels with it. More on short tags in Partner, affiliate and ref links that add up.
Find untagged instances
To see older or untagged Mastodon visits, open the Sources card, click Referral on the Channel tab, then the Referrer tab. Instance hosts appear as rows. If you recognise several, you can combine them with an "or" filter on referrer (Filters and segments) and save it as a segment.
See Mastodon revenue
- Connect a payment provider and pass the visitor id at checkout.
- Filter the dashboard to Organic social, then sort the Campaign tab (
?ref=or?utm_source=) by Revenue.
From the API, tagged and recognised visits share the source name:
curl -G https://reveata.com/api/v1/websites/example.com/analytics/breakdown \
-H "Authorization: Bearer $REVEATA_TOKEN" \
--data-urlencode "dimension=entry_page" \
--data-urlencode "metrics=visitors,revenue,revenue_per_visitor" \
--data-urlencode "period=last_90d" \
--data-urlencode 'filters=[{"dimension":"source","operator":"is","values":["Mastodon"]}]'