Telegram revenue tracking: which channels and groups bring paying customers
By Devendra Variya, co-founder of Virling. Published 2026-11-25.
Telegram revenue tracking means joining each payment on your site to the Telegram channel, group, bot or ad that sent the buyer. Put utm_source=t.me, utm_medium=social and a utm_campaign per place on every link you share, add the Virling script to your site, and pass the visitor ID into checkout. Virling puts the visit in Social, credits the payment to it, and the Campaign tab shows revenue per channel and group.
It is links only. For this tracking, nothing is posted to or read from Telegram: no bot joins your channel, and no messages, member lists or ad accounts are read. Virling also has optional Telegram alerts, which send messages to a chat you choose with your own bot. They are a separate setting and tracking does not use them.
Which link to tag in channels, groups, bots and ads
A visit can only be tracked when someone opens a link to your site. A t.me link that opens a channel, a group or a bot stays inside Telegram, so what you tag is the next link, the one that leaves it.
- Channels. Tag the link in each post, the pinned post, the channel description and any buttons. A forwarded post keeps its link, so a tap in another chat still carries your channel’s tags.
- Groups. Tag the links you post and the replies you paste. Give each group its own campaign, and follow its rules about links.
- Bots. A button in a bot message can open a web address (source: Telegram Bot API, InlineKeyboardButton). Tag that address, and the links in the text of replies.
- Ads that open a channel or bot. Telegram’s getting started page says ad links must lead to a channel or bot on Telegram, not to an external site (source: Telegram Ads, getting started). Its ad guidelines also have rules for websites, so check what your account accepts. If yours accepts a website, tag its address as an ad.
- Paid posts in other channels. If you pay a channel owner for a post, give them a finished link with the ad tags, and ask them to paste it unchanged.
A naming table for Telegram links
Use utm_source=t.me in every row. The medium separates unpaid links from paid ones, and the campaign names the place:
| Link in | utm_medium | utm_campaign | utm_content |
|---|---|---|---|
| Your channel | social | tg-channel-own | The post: pinned, v2-launch |
| Someone else’s channel | social | tg-channel- and its name | The post or the date |
| A group | social | tg-group- and its name | The topic or the reply |
| Your bot | social | tg-bot- and its name | The command or button: start, pricing |
| A paid post or an ad | paid_social | tg-ad- and its name | The wording: text-a |
Two finished links:
https://yourdomain.com/pricing?utm_source=t.me&utm_medium=social&utm_campaign=tg-channel-own&utm_content=pinned https://yourdomain.com/?utm_source=t.me&utm_medium=paid_social&utm_campaign=tg-ad-launch&utm_content=text-a
- Keep one campaign per place. The Campaign tab groups by this value, so
tg-group-foundersandTG-Foundersbecome two rows. - Use the medium with care.
paid_social,paidsocial,paid,cpc,ppcandpaidsearchmake the visit Paid.email,newsletterande-mailmake it Email, so keep them out of Telegram links.
The social UTM link generator tags the same page for your other platforms; it has no Telegram row, so build Telegram links in the UTM builder. For a short URL, make a tracked link: choose Other as the place and type t.me. Its campaign is the link’s id, shown by the name you give it. To count a paid post as Paid, set the page to /pricing?utm_medium=cpc.
How Virling sorts a Telegram visit
Every session gets one channel from its first pageview, and the first matching rule wins:
- A paid or email medium. It is checked first, so a link tagged
paid_socialis Paid whatever the referrer. - The referrer.
t.me,telegram.organd their subdomains are known Social hosts.web.telegram.orgis shown ast.me. A referrer from another site wins over the source tag. - The source tag. With no referrer,
utm_source=t.meandutm_source=telegramare both Social. An unknown value, such astg, is Referral. - The in-app browser. With no referrer and no source, a user agent that contains the word Telegram is credited to
t.me, in Social. - Nothing. With no medium either, the visit is Direct.
Why t.me and not telegram? A source that is a known host stands in for a missing referrer. Links tagged t.me therefore share a source with the visits Virling recognises by itself, and links tagged telegram do not. The full rules are in how channels are decided, and the traffic source checker shows the channel for a link you paste.
Which Telegram visits stay Direct
Without tags, Virling depends on what the app and the browser send. These visits have nothing to read:
- Untagged links that open in a plain system browser. If there is no referrer and the browser does not name Telegram, the visit looks like a typed address. It is listed under Direct as typed or bookmarked.
- Plain URLs that members share. Someone types your bare domain in a group, and nothing in it says Telegram.
- Tags lost on the way. A redirect that drops the query string removes them before the script runs. See UTM parameters lost after redirect.
Even a recognised visit says only Telegram. A referrer host and a user agent do not name the channel or group, so only the campaign can. Other chat apps have the same gap: see WhatsApp revenue tracking, Discord revenue tracking and dark social revenue tracking.
Carry an ad or a post through a bot
When a link opens your bot, the visit to your site comes later, from a link the bot sends. Telegram’s start parameter can join the two. A link such as https://t.me/your_bot?start=ad-launch passes ad-launch to the bot. The value can be up to 64 characters from A to Z, a to z, 0 to 9, underscore and hyphen (source: Telegram, bot deep linking).
- Give each ad or post its own start value.
- In your bot’s code, keep a list of the values you made and the campaign each one stands for.
- Reply with the link tagged for that campaign:
paid_socialwhen the start came from an ad,socialwhen it did not.
This is code in your bot; Virling sees only the link. An ad that opens a channel has no such step: new members see the same posts as everyone else, so their visits carry the channel’s tags and cannot be split out as ad revenue.
Set up Virling
- Add the script to the
<head>of every page you link to, and to your app. See the script docs. - Connect your payment provider. The list is on the integrations page.
- Pass the visitor ID into checkout. Payment links from Stripe, Polar and Dodo Payments get it from the script when they are on a page that runs it. A checkout you create on your server needs the
virling_vidcookie. See link checkout to visits. Do not post a bare payment link in Telegram: it skips your site, so there is no visit to credit. - Test from a phone. Send yourself a tagged link, open it in the Telegram app, and check that it shows in Social with the right campaign.
By default a payment is credited to the latest visit in the last 90 days that was not Direct. A reader who taps your post and returns next week by typing your address is still credited to the post. A later visit from a search takes the credit instead. See the model docs.
A made-up example: three channels compared
These numbers are invented to show the arithmetic. Each payment is $49, and revenue per visitor is revenue divided by visitors.
| Channel | Visitors | Payments | Revenue | Revenue per visitor |
|---|---|---|---|---|
tg-channel-own | 500 | 20 | $980 | $1.96 |
tg-channel-makers | 1,200 | 12 | $588 | $0.49 |
tg-channel-deals | 2,450 | 5 | $245 | $0.10 |
The deals channel sent the most visitors and earned the least. The own channel sent the fewest and earned about 20 times as much per visitor. Five payments is a small number, though.
On the dashboard, click Social in the Channels card, then open the Campaign tab for visitors, revenue and revenue per visitor. It lists the top 6 campaigns in the range. Links tagged as ads are under Paid. Open a payment on the Payments page to see the visits before it.
What to check if the numbers look off
- Direct jumps when you post. A link went out untagged. Check the pinned post, the description and the bot’s replies first.
- Telegram links show as Referral. The source is a value Virling does not know, such as
tg, or another site’s referrer came with the click. - Visits but no revenue. The visitor ID is not reaching checkout, so payments are Unattributed.
- A buyer tapped on a phone and paid on a laptop. That is two visitors unless something joins them. See cross-device attribution.
Frequently asked questions
How do I track revenue from Telegram?
Tag every link you share with utm_source=t.me, utm_medium=social and a utm_campaign per channel, group or bot. Add the Virling script to your site, connect your payment provider and pass the visitor ID into checkout. The Campaign tab then shows visitors and revenue for each one.
Why do Telegram visits show up as Direct?
They have no referrer, no utm_source or utm_medium, and no user agent that names Telegram. That happens when an untagged link opens in a plain system browser. Tag the link and the visit no longer depends on the app.
Should I use utm_source=telegram or t.me?
Use t.me. Both put the visit in Social when there is no referrer, but t.me is also the host that Virling uses for visits it recognises by referrer or in-app browser, so they share one source.
Can I track a Telegram bot or ad?
Yes, from the link that leads to your site. Tag the links your bot sends. For an ad that opens a bot, put the ad name in the start parameter and have the bot reply with a link tagged for that ad. An ad that opens a channel sends no visit by itself.
Does Virling read or post in my Telegram channel?
No. Tracking uses links only: nothing is posted to or read from your channels, groups, bots or ads. Telegram alerts are a separate, optional setting that sends messages to a chat you choose, and tracking does not need them.
See which Telegram channels bring paying customers
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.