virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-18

Track signups from dev.to and Medium: which articles bring paying customers

By Devendra Variya, co-founder of Virling. Published 2026-11-18, updated 2026-11-30.

To see which dev.to and Medium articles bring paying customers, tag the links in each article with utm_source=dev.to or utm_source=medium.com and its own utm_campaign, add a tracking script to your site, carry the visitor ID into checkout, and join each payment to the visit that came before it. Clicks you did not tag still show up under DEV or Medium by their referrer. Then compare paying customers and revenue per visitor for each article. Views, reactions and claps do not tell you this.

For a developer tool, a technical article is often how a buyer first hears of you. You write a tutorial, publish it on your own blog, and cross-post it to dev.to and Medium to reach their readers. The platforms show reads and reactions, but not who signed up, who paid, or which article did it. That has to be measured on your side.

How visits from dev.to and Medium arrive

  • The referrer. A click on a link in an article usually arrives with the site's host as the referrer. Virling keeps a list of known hosts. dev.to is a community host, with hashnode.com and hashnode.dev, so its clicks land in the Communities channel and show as DEV in the Source tab. medium.com and its subdomains are on the social list, with substack.com, so their clicks land in Social; medium.com shows as Medium, and a subdomain such as yourname.medium.com is its own row under that host. A Medium publication on its own domain is not on either list, so it lands in Referral under that domain.
  • Only the host. The referrer is a host, not the article. Every article on dev.to shares the DEV row, and every article on medium.com shares the Medium row. Tags on the links are how you tell articles apart.
  • A UTM tag. Readers who open an article in an app, a feed reader or an email digest often arrive with no referrer. With no referrer, Virling reads utm_source, and when that is missing it reads ref. A source that names a known host, such as dev.to or medium.com, stands in for the referrer, so the visit joins the same DEV or Medium row. A short name such as devto or medium still puts the visit in Communities or Social, but not in that row. With no referrer and no tag, the visit is Direct.
  • When a referrer is present it wins. A tagged click from dev.to that keeps its referrer is credited by the referrer, and its utm_campaign is still recorded. Only a paid or email utm_medium, such as cpc, paid, email or newsletter, overrides the referrer.

The full rule order is in how channels are decided.

Canonical URLs and cross-posting

Both platforms let you set a canonical URL that points at the original on your own blog. That tells search engines which copy to rank. It does not change how Virling credits a visit: a reader who clicks from the dev.to copy is credited to dev.to, one who clicks from the Medium copy to Medium, and one who finds your original through a search engine to Organic search. Tagged links are a separate question, covered in whether UTM tags affect SEO.

So a cross-posted article can bring buyers through three doors. Use the same utm_campaign on the links in every copy if you want one row per article, or add the platform to it if you want one row per copy. Which blog posts bring paying customers covers measuring the original on your own blog.

Step by step setup

  1. Tag the links in each article. One utm_source per platform and one utm_campaign per article:
    https://yourdomain.com/?utm_source=dev.to&utm_medium=referral&utm_campaign=rate-limiting-guide
    https://yourdomain.com/?utm_source=medium.com&utm_medium=referral&utm_campaign=rate-limiting-guide
    https://yourdomain.com/?utm_source=dev.to&utm_medium=referral&utm_campaign=postgres-backups
    Keep the values lowercase and the same everywhere. Use utm_medium=referral, never email, even when the platform also sends the article in a digest, or every click counts as Email. Put the tagged link in the body, in the call to action at the end and in your profile. The UTM builder makes the links, and which UTM parameters to use covers naming.
  2. Add the script. Put the Virling tag in the <head> of every page your articles link to, including docs and pricing pages. See add the script.
  3. Connect a payment provider. Virling reads payments from Stripe, Paddle, Lemon Squeezy, Polar, Dodo Payments, Creem, RevenueCat, Shopify and WooCommerce; setup is in the payments docs.
  4. Pass the visitor ID into checkout. If you use Stripe Payment Links, Polar checkout links or Dodo Payments links, the script adds the ID on click. For a checkout you create on your server, pass the virling_vid cookie, for example as client_reference_id on a Stripe Checkout Session. See link checkout to visits. Without this step you get visits but no revenue.
  5. Check one link. Click a tagged link in your published article in a private window, and check that the visit shows under DEV or Medium with the right campaign.

Start free trial

Compare articles by paying customers

  1. Pick Last 90 days in the date picker, or a range that starts when the article went live.
  2. On the Channels card, switch to the Source tab and find DEV and Medium. Each row shows visitors, revenue and revenue per visitor, with a chip that compares it with your site average.
  3. Switch to the Campaign tab. Each article you tagged is a row; click one to filter the whole page, and the New customers number at the top is the paying customers that article brought in the range.
  4. Open a payment from the Payments page to see the buyer's journey: every visit before the payment, with the credited one marked.

Developers often read an article, leave, and come back later through a search or a typed URL before they pay. The default model, last non-direct, credits the latest visit that was not Direct inside the lookback window, 90 days by default. Switch to first touch in Site settings to see which articles introduce buyers; history is recomputed, and you can switch back. First touch or last touch for a SaaS explains which fits your sales cycle, and GitHub revenue tracking covers the other place developers find a tool. If your article also reaches Hacker News, measuring Hacker News visits covers the spike and the late payments, and for short answers rather than articles, see do Stack Overflow answers bring customers.

A worked example: four articles

Example data, made up to show the method: an imaginary API tool on a $34 monthly plan, last 90 days, first payments only. Views come from each platform's own stats. Clicks to the site, paid customers and revenue come from Virling: click the article in the Campaign tab, then read the DEV and Medium rows in the Source tab.

ArticlePlatformViewsClicks to the sitePaid customersRevenue
rate-limiting-guidedev.to8,4003125$170
rate-limiting-guideMedium5,100961$34
postgres-backupsdev.to2,7001414$136
why-we-left-microservicesMedium15,6002280$0
Total31,80077710$340

The opinion piece had the most views and brought no buyers. The backups tutorial had the fewest views, but 4 of its 141 clicks paid, about 2.8%, against 1.6% for the rate limiting guide on dev.to and 1.0% for its Medium copy. The next article is another hands-on tutorial, published on dev.to first. Articles keep getting read from feeds and search for months; to see what one could bring over a year, put its monthly clicks and click to customer rate into the SEO ROI calculator.

What to check when the numbers look wrong

  • An article shows in the Source tab but not in the Campaign tab. The link in it is your plain URL. Edit the article and tag it.
  • The Campaign tab has visits the DEV or Medium row does not. Tagged clicks with no referrer and a short source such as devto count in the channel and the campaign, but not the row. Use dev.to and medium.com as the source.
  • Medium traffic is spread across rows. Subdomains and publications on their own domains are separate hosts. Tag the links so the campaign keeps them together.
  • Visits but no revenue at all. Check the Matched revenue line under the Overview numbers. If a large share of revenue is unmatched, the visitor ID is not reaching checkout. See Unattributed revenue.

Frequently asked questions

How do I track signups from dev.to?

Add the tracking script to your site, pass the visitor ID into checkout and connect your payment provider. Clicks from dev.to land in the Communities channel and show as DEV in the Source tab. Give each article's links its own utm_campaign to split articles in the Campaign tab.

Why does Medium traffic show under Social and dev.to under Communities?

Virling has a fixed list of known hosts. dev.to, hashnode.com and hashnode.dev are community hosts, so they land in Communities. medium.com and its subdomains are on the social list with substack.com, so they land in Social. A Medium publication on its own domain is not on either list, so it lands in Referral under that domain.

Which utm_source should I use for dev.to and Medium links?

Use utm_source=dev.to and utm_source=medium.com. When a click arrives with no referrer, a source that names a known host stands in for the referrer, so the visit joins the same DEV or Medium row as clicks that kept their referrer. Short names such as devto or medium still set the channel, but do not join that row.

Does setting a canonical URL change how visits are credited?

No. The canonical URL tells search engines which copy of a cross-posted article is the original. Virling credits a visit by its referrer and tags. A reader who clicks from the dev.to copy is credited to dev.to, one who clicks from the Medium copy to Medium, and one who finds your original post through a search engine to Organic search.

How long should I wait before judging an article?

At least the length of your trial plus a few weeks, and 90 days is a good default. Articles on these sites keep getting readers from their feeds and from search for months, and SaaS buyers often pay after a trial ends. Keep the lookback window, 90 days by default, longer than your trial plus decision time.

See which articles 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.

Start free trial See the demo