Content marketing ROI: which content brings paying customers
By Devendra Variya, co-founder of Virling. Published 2026-11-20.
To measure content marketing ROI, you need the revenue from customers who arrived through your content, not only the clicks. Add a tracking script to your site, connect your payment provider, and pass the visitor ID into checkout, so each payment is joined to the visit that brought the customer. Each payment is then credited to that visit's landing page, so you see which posts, guides and videos turn visits into paying customers. Subtract what the content cost you, divide by that cost, and you have the ROI of each piece.
This guide is for SaaS founders and stores who publish posts, guides and videos and want to know which of them pay.
The content marketing ROI formula
ROI = (revenue from content - cost of content) / cost of content x 100
- Cost is what you put in: writing and editing time, freelancers, design, video production, the tools you pay for and any promotion. Only you know these numbers, so you add them up yourself. No analytics tool can import the hours you spent on a post.
- Revenue is the money from customers whose visit landed on that content, after refunds. This is the half most teams cannot see, and the rest of this guide is about getting it.
A post that cost $500 and brought $1,500 in revenue has an ROI of 200%. The marketing ROI calculator does the arithmetic, and the SEO ROI calculator works it out for content that lives on search traffic, with a break-even point.
Why pageviews and leads do not answer it
- Pageviews measure reach, not buyers. A post that ranks for a broad question can draw thousands of readers who will never need your product. A quiet guide can bring the few people who pay.
- A lead is not a payment. Signups and downloads are a step on the way. Counting them rewards the content that collects emails, not the content that brings customers.
- Payment happens later, somewhere else. Most readers leave and come back days later by typing your address or clicking another link. Without a record that ties the payment to the earlier visit, the sale lands in Direct and the post gets nothing.
- Content travels. A guide shared in a newsletter or a video on another platform sends visitors with no useful referrer. Without tagged links those visits cannot be told apart.
What you need instead is revenue per landing page: for each piece of content, how many visitors it brought, how much they paid, and revenue per visitor. Which blog posts bring paying customers goes deeper on reading that report.
For the revenue half of the formula, Virling's Landing page tab lists your top pages with their visitors and the revenue credited to each, so the cost is the only number you add.
How to set it up in Virling
1. Add the script
Paste one tag before </head> on every page of your site, including the blog and docs. It records pageviews, referrers and UTM tags, and sets a first-party virling_vid cookie, the visitor ID that later links a payment to the visit. The app's setup screen shows the exact tag for your site. See add the script, or install it through Google Tag Manager if you cannot edit the templates, and do not turn on cookieless mode for a site whose payments you want to credit.
2. Connect a payment provider
In the app, open your site, then Setup, then Connect payments, and paste a key. Virling reads payments with a read-only key where the provider offers one, imports the last 90 days, and checks for new payments every minute. It works with Stripe, Paddle, Lemon Squeezy, Polar, Dodo Payments, Creem, RevenueCat, Shopify and WooCommerce; all of them are on the integrations page, and the keys each one needs are in payments.
3. Pass the visitor ID into checkout
This is the step that turns traffic numbers into revenue numbers. Stripe Payment Links, Polar checkout links and Dodo Payments links are tagged by the script 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. The setup for each provider is in link checkout to visits. Make a test payment, wait a minute, and check that it shows a channel instead of Unattributed.
4. Tag content you share elsewhere
When a post goes out in a newsletter, on social or under a video, the referrer alone often cannot say which piece sent the visitor. Share it with a UTM-tagged link, one utm_campaign per piece, or with a tracked link. Articles you write for other sites need the same care; tracking guest posts by the payments they bring covers bio links and asking editors to keep your tags. In Virling, open Links, give the link a name, the page it should open, the source where it will be shared and its channel. The short link adds utm_source, utm_medium and utm_campaign on each click, and the Campaign tab lists it with its visitors and revenue. See tracked links and which UTM parameters to use.
5. Read the landing page report
Open the dashboard and pick a long range, 90 days or more, since content keeps sending visitors long after it goes out.
- On the Pages card, open the Landing page tab. Each row is the first page of a visit that was credited with payments, with visitors, revenue and revenue per visitor, and a chip that compares it with your site average.
- Click a post to filter the whole page to it. The Channels card now shows where its visitors came from, such as organic search, AI assistants or a newsletter.
- Switch the Channels card to the Campaign tab to see the revenue from content you shared with tagged links.
- Click See visitors to open the people behind a number, and open a payment to see every visit before it, with the credited one marked.
See read your dashboard for every card.
6. Credit the content that started the journey
By default a payment is credited to the latest visit in the lookback window that was not Direct. A reader who found you through a guide and came back later from a search ad is credited to the ad. To credit the earliest visit in the window instead, often the one that landed on your content, switch the model to first touch in Site settings. The lookback window can be 30, 60, 90 or 365 days; content with a long path to purchase needs a long one. Saving the settings rebuilds attribution for every past payment. See model and lookback window and first touch or last touch.
7. Add your costs
Virling never imports cost; you type it. Take the revenue credited to each piece from the Landing page tab and put it next to what that piece cost you in the formula above, or in one of the calculators. If you spend a fixed amount each month on a channel, such as Organic search, enter it under Monthly spend per channel in Site settings, and the Profit by channel card shows spend, revenue, profit and return per dollar for the range you pick. The numbers are only as good as the amounts you enter.
A worked example
Made-up numbers to show the method, not results from a real site. Over 180 days, with first touch and a 365-day window:
| Content | Cost | Visitors | Revenue | Revenue per visitor | ROI |
|---|---|---|---|---|---|
| Setup guide | $500 | 1,200 | $1,500 | $1.25 | 200% |
| Industry explainer | $600 | 9,000 | $300 | $0.03 | -50% |
| Video walkthrough | $900 | 250 | $0 | $0.00 | -100% |
The explainer wins on pageviews and loses on revenue: most of its readers are not buyers. The setup guide brings fewer visitors, but they are close to buying, so a sister guide is the obvious next piece. The video has too few visitors to judge yet; check that its links are tagged before deciding anything. Do not delete the explainer on this alone: its readers may pay after the range ends, and the Time to pay card shows how long each channel's customers take to pay.
Some kinds of page need their own reading: comparison and alternatives pages can close buyers as well as find them, docs can be read between the first visit and the payment, pages generated from a template are judged per template, free tools and calculators are judged by the buyers they bring rather than their visitor counts, and landing pages are ranked by revenue as well as by revenue per visitor. For posts on social platforms, see how to measure social media ROI.
What to check when the numbers look wrong
- Most revenue has no landing page. Payments are not matched to visits. The Matched revenue line under the Overview numbers gives the share matched and why the rest was not. See Unattributed revenue.
- Content shared elsewhere shows up as Direct. The links are untagged. Use UTM tags or tracked links.
- A post with traffic shows no revenue. Revenue counts on the payment date, so a reader who paid after the range ends is not in it. Widen the range.
- Old content shows nothing. Payments are imported for 90 days, but visits only exist from the day the script was added.
Frequently asked questions
How do you calculate content marketing ROI?
Take the revenue from customers who arrived through your content, subtract what the content cost to make and promote, divide by that cost and multiply by 100. The cost is yours to add up: writing time, freelancers, editing, design and tools. The revenue needs each payment joined to the visit that brought the customer.
Why are pageviews and leads not enough to measure content ROI?
Pageviews count readers, not buyers, and a lead is not a payment. A post can draw thousands of readers who never need your product, while a quiet post brings the people who pay. Only revenue credited to the landing page tells you which content pays.
How do I see which blog posts bring paying customers?
Connect your payment provider and pass the visitor ID into checkout, so each payment is joined to the visit before it. The payment is then credited to that visit's landing page. In Virling, the Landing page tab of the Pages card shows visitors, revenue and revenue per visitor for every page.
How do I measure ROI for content shared on other sites?
Share it with a UTM-tagged link or a tracked link, one per piece. The visits it sends then carry their own campaign, and the Campaign tab shows the visitors and revenue each one brought.
How long should I wait before judging a piece of content?
Longer than for ads. Readers often find a post, leave, and pay weeks later. Use a long date range, check the Time to pay card, and consider first touch with a longer lookback window, up to 365 days, so the content that started the journey gets the credit.
See which content brings 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.