How do indie founders track which tweet made them money?
By Devendra Variya, co-founder of Virling. Published 2026-11-16, updated 2026-12-02.
Give every tweet that carries a link its own campaign tag or tracked short link, and join each visit to the payment that followed. Virling does the join: it reads payments from Stripe, Polar, Lemon Squeezy and the other providers it supports with a read-only key, credits each one to the visit before it, and lists each tagged tweet on the Campaign tab of the Channels card with its visitors, revenue and revenue per visitor. Untagged clicks from X still show as x.com on the Source tab, but they cannot say which tweet it was.
To track revenue from X (Twitter), count the clicks X sends, tell your bio, posts, replies and threads apart with a tag on each link, and join each visit to the payment that followed. Impressions, likes and follower counts cannot tell you which of those places brought a customer.
If you build in public, you post on X most days, and the link sits somewhere different each time: your bio, a pinned post, a reply under someone else's post, or the last post of a thread. Each of those reaches different people, so each is worth measuring on its own.
What t.co does to the referrer
X wraps every link in a post with its t.co short link, and the website link on your profile is wrapped too. So a click from a browser usually arrives with t.co as the referrer, not your post and not your profile. Some visits arrive from x.com or twitter.com instead. Virling puts all three hosts in the Social channel and shows them as one row, x.com, in the Source tab.
The catch is that t.co looks the same for every link you share. A click on your bio, on a reply and on a launch post all arrive as t.co, and Virling stores the referrer host, not the full URL, so the referrer alone cannot say which one it was.
The X mobile app is the second gap. It opens links in its own browser, and those visits often arrive with no referrer at all. Virling credits some in-app browsers to their app, such as Instagram or LinkedIn, but not X, so an untagged click from the X app with no referrer is Direct. Open Direct in the Channels card: when the app's browser names itself in the user agent, those visits get their own X app row instead of Typed or bookmark, which shows how much X traffic is missing a tag.
Tag each place you put a link
A tag closes both gaps. With no referrer, Virling reads utm_source, or ref when it is missing, and x and twitter are known Social sources. Give each place its own campaign:
https://yourdomain.com/?utm_source=x&utm_medium=social&utm_campaign=bio https://yourdomain.com/?utm_source=x&utm_medium=social&utm_campaign=pinned https://yourdomain.com/?utm_source=x&utm_medium=social&utm_campaign=thread-launch-v2
- Bio. People who like a post often open your profile before they visit your site, so the bio link collects visits that no single post gets credit for. Give it a fixed campaign and leave it alone.
- Pinned post. It is the first post profile visitors see, and it stays up for weeks. A fixed campaign keeps it apart from the bio.
- The post or a reply. Many founders keep the link out of the main post and add it in the first reply, because they believe posts with outside links reach fewer people. Either way, tag the reply link with its own campaign, such as
launch-v2-reply, and after a few launches you can compare what each placement earned. - Threads. When the link goes in the last post of a thread, only readers who reach the end see it. Name the campaign after the thread, so its revenue sits next to your single posts.
- Replies to other people. A useful reply under a bigger account's post can send more visitors than your own post does. Tag those links too, with a campaign such as
reply-pricing.
X counts every link as the same length once t.co wraps it, so a long tag does not cost you characters, but it still shows in the post. To hide it, use a tracked link: on the dashboard, open the Campaign tab of the Channels card, click + Tracked link, and pick X and the page it should open. The short link adds utm_source=x.com, a social medium and its own campaign on the click. See tracked links. For naming rules, read which UTM parameters to use, or let the UTM builder or the social UTM link generator make the links. Promoted posts are covered in X Ads revenue tracking.
From the click to the payment
Revenue needs the visitor ID in checkout: Stripe, Polar and Dodo payment links get it from the script, and a checkout you create on your server passes the virling_vid cookie, as described in link checkout to visits. With the default model, last non-direct, a buyer who clicked a post and came back days later by typing your URL still counts as X, as long as the X visit is inside the 90-day lookback window.
Which posts on X bring paying customers?
Pick a range of a few weeks, find x.com in the Source tab, and read its revenue per visitor against the chip that compares it with your site average. Then switch to the Campaign tab. With tags in place, the bio, the pinned post, each thread and each reply link have their own rows with visitors and revenue.
Building in public tends to introduce people long before they buy: they follow you for months, then come back through search. Compare the x.com row under first touch as well as last non-direct; the model is in Site settings, history is recomputed, and you can switch back. First-touch or last-touch attribution for a SaaS explains when each one fits.
A launch thread spikes for a day while a bio link earns slowly, so judge them over different ranges: a week or two for the thread, a quarter for the bio. If you post the same updates elsewhere, see what your Bluesky posts earn, tagging Threads links so app taps are not lost to Direct, counting visits from Mastodon instances and whether LinkedIn brings B2B customers. Communities follow the same method, as in how much revenue Reddit brings, and social media ROI puts the hours in the sum.
A worked example: four links on X over 30 days
Example data, made up to show the method. An imaginary SaaS that charges $29 a month or $290 a year launches version 2 on X and reads the next 30 days in the Campaign tab. The link in the last post of the launch thread is tagged launch-v2, a build-in-public update on reaching 100 users is tagged bip-100-users, a reply to someone asking for a tool like it is tagged reply-tool-question, and the pinned post is tagged pinned. Signups are counted with a goal, and revenue is the first payment of each new paying customer.
| Link | Visits | Signups | Paying customers | Revenue | Visit to paid |
|---|---|---|---|---|---|
| Launch thread, link in the last post | 2,870 | 96 | 6 | $174 | 0.21% |
| Build-in-public update | 640 | 23 | 3 | $87 | 0.47% |
| Reply under another post | 85 | 9 | 2 | $319 | 2.35% |
| Pinned post | 410 | 17 | 4 | $638 | 0.98% |
| All four | 4,005 | 145 | 15 | $1,218 | 0.37% |
The launch thread brought seven in ten visits and the most customers, all on the monthly plan, so it earned $174. The reply and the pinned post brought 495 visits between them, but six customers and $957, because three of those six paid for a year up front: one from the reply and two from the pinned post. Someone who asks for a tool, or reads your pinned post after looking you up, has usually decided to buy before they click. Build the tagged link for each place with the social UTM link generator.
When the numbers look odd
- A post took off, x.com barely moved, and Direct rose. App clicks on an untagged link. Look for the X app row under Direct, and tag the next post.
- A whole thread is one row in the Campaign tab. Every post in it used the same tag. That is fine if you judge the thread as one unit; give posts their own campaigns otherwise.
- Someone says they found you on X, but the payment is credited elsewhere. Reading your posts without clicking leaves no visit to credit.
- Visits but no revenue. Check the Matched revenue line under the Overview numbers; if most revenue is unmatched, the visitor ID is not reaching checkout. See Unattributed revenue.
Frequently asked questions
How do I track revenue from X (Twitter)?
Count clicks with t.co, x.com or twitter.com as the referrer, tag your bio, pinned post, posts and reply links with utm_source=x and a campaign for each place, and pass the visitor ID into checkout. Then compare revenue per visitor by campaign.
What is t.co in my referrers?
X wraps every link in a post, and the website link on your profile, with its t.co short link, so browser clicks usually arrive with t.co as the referrer. Virling puts t.co, x.com and twitter.com in the Social channel and shows them as one row, x.com.
Why do clicks from the X app show up as Direct?
The X app opens links in its own browser, often with no referrer, and Virling does not credit that browser to X. Untagged clicks are Direct, where they show as an X app row when the browser names the app. Adding utm_source=x to the link keeps them credited to X.
Should the link go in the post, a reply or the last post of a thread?
Tracking works the same in all three, because every one is wrapped in t.co. Give each placement its own utm_campaign, such as launch-v2 and launch-v2-reply, and compare the revenue each earned over a few launches.
Should I tag the link in my X bio?
Yes. The bio link arrives as t.co like any post, so without a tag profile visits mix with post clicks. Give the bio and the pinned post fixed campaigns of their own.
See what your posts on X earn
Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.