ShonyLabs
DocsPricingChangelog
Log inGet started

Getting started

IntroductionQuickstart

Tracking

Tracking snippetCustom goalsIdentify usersExclusions

Privacy

GDPR & cookieless tracking

Revenue

Transactions APIPayment connectors

Server & bots

Bots & server-side tracking

Reliability

Error tracking

Social listening

Brand mentionsX link attribution

Collaboration

Team & access

Live map

Public live map

Integrations

Google Search Console

No-code platforms

WordPressGoogle Tag ManagerWebflowWixSquarespaceFramerGhostOther platforms

Reference

API referenceCLI & MCP server

X link attribution

See which tweet is behind your 𝕏-referred traffic and revenue, instead of just an anonymous t.co referral.

X link attribution is available on the Growth plan. Log in to set it up.

The problem this solves

𝕏 routes every link posted in a tweet through its own t.co shortener, and only ever sends the bare t.coorigin as the Referer header β€” never the tweet, never the path. So without this feature, every click from 𝕏 shows up in your Referrer breakdown as one anonymous β€œx.com” row, no matter how many different tweets actually sent it.

How it works

Once enabled, we search 𝕏 every half hour for tweets that link directly to your domain and record each one we haven't seen before. Separately, for a visitor whose first-ever visit was referred from 𝕏, we look for the most recently-posted tweet we found linking to your site in the hours immediately before that visit. If we find one, that visitor's traffic and any revenue they go on to generate is attributed to it on the Acquisition β€Ί Tweets tab of your dashboard.

This is a best-effort estimate, not an exact match. A t.coreferral carries no tweet id, so there is no way to know for certain which tweet a click came from β€” only which tweet was plausibly posted recently enough to be the cause. Traffic that matches no tweet in the window shows up as an explicit β€œUnattributed” row rather than being guessed at or dropped.

Getting an exact match instead

If you want certainty rather than an estimate, add a ?ref= or utm_source/utm_campaign tag to the specific links you post, then check the Campaign tab β€” a tagged link is unambiguous no matter how 𝕏 rewrites the URL around it.

Latency

Right after you enable it, the dashboard shows a β€œScanning 𝕏…”state. The first pass looks back over roughly the last two days and can take a few hours to surface everything; after that, new tweets show up within about half an hour of being posted. 𝕏 search itself only covers roughly the last seven days of posts, so a tweet older than that when scanning first runs won't be picked up.

ShonyLabs Analytics

Privacy-friendly web analytics that shows which channels actually drive revenue.

Β© 2026 ShonyLabs. All rights reserved.

Product

  • Log in
  • Sign up
  • Pricing
  • Changelog
  • Documentation
  • API reference
  • Crawler directory

Guides

  • Quickstart
  • Tracking snippet
  • Goals
  • Transactions
  • Identify visitors
  • Cookieless tracking

Company

  • About
  • Contact
  • Terms of service
  • Privacy policy
  • Data processing agreement