YouTube revenue tracking: which videos bring paying customers
By Devendra Variya, co-founder of Virling. Published 2026-11-16.
To track revenue from YouTube, put a UTM-tagged link in each video's description and pinned comment, with utm_source=youtube and the video's name in the campaign. Add the tracking script, carry the visitor ID into checkout, and the Campaign tab shows the revenue and revenue per visitor each video brings. YouTube Studio reports views, watch time and click-through rate, which stop at the edge of YouTube.
A video can take a day to script, film and edit, and unlike a social post it can keep being found through search and suggestions for years. Whether that pays comes down to one question: did anyone who clicked a link under this video pay, and how much was each of those visitors worth?
Why clicks from the YouTube app show up as Direct
Most YouTube viewing happens in the mobile app, and links opened there often arrive with no referrer. Some apps name themselves in the user agent of their in-app browser, and Virling uses that to credit them, but the YouTube app is not one of them. So an untagged click from the app counts as Direct; a desktop click usually carries youtube.com or youtu.be as the referrer, which names the site but never the video. Channels has the full rule order.
If your Direct traffic rises the day a video goes out, this is usually why, and the fix is a tag on every link you control.
Where YouTube links live
A YouTube channel has more places to put a link than most platforms, and each behaves differently:
- The description. Every video has its own, so every video can have its own link. Put it in the first lines, which show above the "more" fold; viewers in the app see little else without tapping.
- The pinned comment. A creator can pin one comment to the top. It sits right under the video in the app, where many viewers see it before the description. Give it the same campaign as the description link and a different
utm_content. - End screens and cards. These can point to your own site only for channels in the YouTube Partner Program that have linked the site in YouTube Studio. If yours can, tag them with
utm_content=end-screenorcard, since a card shown mid-video reaches viewers who never open the description. - The channel page. The banner links and the About section are shared by every video. Give them a fixed campaign such as
channel-pageso you can tell them apart from video clicks. If they point to a page of links, see link-in-bio revenue tracking.
One utm_campaign per video, utm_content per spot
Name the video in utm_campaign and the spot in utm_content:
https://yourdomain.com/?utm_source=youtube&utm_medium=social&utm_campaign=video-setup-in-5-minutes&utm_content=description https://yourdomain.com/?utm_source=youtube&utm_medium=social&utm_campaign=video-setup-in-5-minutes&utm_content=pinned-comment
- utm_campaign is the tag that gives you revenue per video: one lowercase, hyphenated value per video. The Campaign tab groups visitors and revenue by it.
- utm_content records where the link sat:
description,pinned-comment,end-screen,cardorchannel-banner. Virling stores it with each visit; utm_content vs utm_term explains the split. - utm_medium=social keeps organic videos in Social. Use a paid medium such as
cpconly for ads; see YouTube Ads revenue tracking.
If a long URL looks messy in a description, click + Tracked link on the Campaign tab in Virling, pick YouTube as the place and the page it should open. The short link adds utm_source=youtube.com, a social medium and its own campaign on the click, so make one per video. See tracked links. The UTM builder makes tagged URLs, and which UTM parameters to use has more naming rules.
A video that still sends buyers months later
Search and suggested videos can keep a tutorial in front of new viewers long after the upload, so the clicks under it keep coming too. That changes how you read YouTube:
- Use long ranges. Look at 90 days, 12 months or all time, not the week after upload. An old video that still earns every month may be worth more than this week's upload.
- Leave old links in place. Rewriting a description link years later splits one video's revenue across two campaign names. Change only the page it points to, if you must.
- The lookback window is measured from the visit, not the upload. A viewer who finds a two-year-old video today and pays next month is still credited to that video, since the visit was a month ago.
Under the default last non-direct model, a later visit where the viewer types your address does not take the credit from the tagged YouTube visit, and renewals keep counting toward the video; the attribution model explains the rules.
Make sure payments can be credited
Payment links from Stripe, Polar and Dodo Payments get the visitor ID from the script on click, and a checkout you create on your server passes the virling_vid cookie. Link checkout to visits covers every provider.
See revenue per video
- Pick a long range, at least 90 days, so older videos get a fair count.
- Open the Campaign tab in the Channels card. With one campaign per video, each video is a row with its own visitors, revenue and revenue per visitor.
- Click a video's row to filter the page, then check the Pages card to see where that video's link actually landed people.
- Open a payment from the Payments page and look at the journey: a buyer may have clicked two of your videos before paying.
A worked example
Made-up numbers to show the method, not results from a real channel. Over 90 days, three videos with tagged links:
| Video (utm_campaign) | Visitors | Paying customers | Revenue | Revenue per visitor |
|---|---|---|---|---|
video-setup-in-5-minutes | 400 | 8 | $1,200 | $3.00 |
video-pricing-teardown | 2,500 | 5 | $750 | $0.30 |
video-year-in-review | 300 | 0 | $0 | $0.00 |
Say the site average is $1.00 per visitor. The setup video sent far fewer visitors than the teardown, yet each visitor it sends is worth three times the average: people watching a setup guide are close to buying. The teardown wins on traffic and loses on pay, so its link might point at a better page, such as pricing instead of the home page. The year in review brought no sales, which is fine for a video made for existing viewers; 300 visitors and no sales is too little to judge either way.
Without the tags, a large share of those visitors would sit in Direct and none of the three rows would exist.
What to check when the numbers look wrong
- Direct jumped the day a video went out. A link is untagged. Check the description, the pinned comment, cards and end screens, and the channel page.
- One video shows up under two campaign names. Its links were tagged differently, or a description was edited later. Pick one value and use it everywhere for that video.
- A video gets clicks but its revenue is zero. Check where its link points; a video about one feature that sends people to the home page loses them. If no video shows revenue at all, the visitor ID is not reaching checkout; see Unattributed revenue.
- A buyer says they watched your video, but the payment is credited elsewhere. They may have watched without clicking and searched for you later; a view that never reaches your site cannot be counted. Switching to first touch in Site settings shows which videos start journeys; first-touch or last-touch attribution explains the difference.
If you also stream, which Twitch streams bring buyers covers panel links, chat commands and sponsor segments.
Frequently asked questions
How do I track revenue from YouTube?
Put a UTM-tagged link in each video's description and pinned comment, with utm_source=youtube and the video in utm_campaign. Pass the visitor ID into checkout and use a tool that joins payments to visits. The campaign report then shows revenue per video.
Why do YouTube visits show up as Direct?
Links opened in the YouTube mobile app often arrive with no referrer, and the YouTube app is not one of the in-app browsers Virling can recognize. With no referrer and no tag, the visit is Direct. Adding utm_source=youtube to the link keeps it credited to YouTube.
Which YouTube video sent a paying customer?
The referrer cannot say, since it is only youtube.com. Give each video its own utm_campaign, or its own tracked link, and the Campaign tab shows visitors and revenue per video.
What should go in utm_content for YouTube links?
Where the link sat: description, pinned comment, end screen, card or channel page. Keep the video itself in utm_campaign, since that is the value revenue is grouped by.
Do old YouTube videos still get credit for sales?
Yes. The lookback window, 90 days by default, counts back from the payment to the visit, not to the upload. A tagged click on a video from years ago that leads to a payment within the window is credited to that video.
Do YouTube ads need different tags?
Use utm_source=youtube with a paid medium such as cpc, so ad clicks land in the Paid channel and organic videos stay in Social.
See which videos 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.