Native ads revenue tracking: which placements bring customers
By Devendra Variya, co-founder of Virling. Published 2026-11-25.
Native ads revenue tracking means joining each payment to the native ad click that brought the buyer, so you can compare campaigns, publishers and creatives by money and not by clicks. Tag every ad with utm_medium=cpc, a utm_campaign and the publisher in utm_term, add the Virling script to your site, and pass the visitor ID into checkout. Virling then counts the click as Paid. The medium matters: native and cpm look right and are not counted as Paid.
Why native ads need placement tracking
A native ad is a headline and a picture inside somebody else’s page, and one campaign can run on many sites and apps at once. A click from an interested reader and an accidental tap can cost the same. The ad network shows you clicks and cost per publisher. Which publisher sent people who paid is a question for your payments.
Step 1: name the campaign, publisher and creative
Type the source, medium and campaign yourself, and let the network fill in what changes with each click. The macros below come from the networks’ own help pages, read on 2026-11-25: Taboola, Creating and Adding URL Parameters for Tracking and Outbrain, How do I add UTM tracking to my campaign. Check the page again before you launch, because a macro spelled wrongly will not be filled in.
| What it names | Tag | Taboola | Outbrain | Where you read it |
|---|---|---|---|---|
| Network | utm_source | taboola | outbrain | Source tag on the visit; decides the channel only when no paid medium does |
| Paid click | utm_medium | cpc | cpc | Channel tab, as Paid |
| Campaign | utm_campaign | A typed name, such as guide-us-2026-11, or {campaign_name} | A typed name, such as guide-us-2026-11 | Campaign tab |
| Publisher | utm_term | {site} | {{publisher_name}} | Keyword tab |
| Creative | utm_content | {title} or {campaign_item_id} | {{ad_title}} | Stored with the visit, no row on the dashboard |
As full strings, with a made-up campaign name:
utm_source=taboola&utm_medium=cpc&utm_campaign=guide-us-2026-11&utm_term={site}&utm_content={campaign_item_id}
utm_source=outbrain&utm_medium=cpc&utm_campaign=guide-us-2026-11&utm_term={{publisher_name}}&utm_content={{ad_title}}
- Where it goes. Taboola’s page puts it in the Tracking Code section of the campaign, without a question mark or ampersand in front, and says to use each parameter only once. Outbrain’s page puts it in the Tracking section of the campaign and says not to add UTM parameters to the URL you submit as content.
- Change the suggested medium. Taboola’s API docs give
utm_source=taboola&as the default tracking code (source: Taboola, tracking_code), and Outbrain’s example usesutm_medium=referral utm_medium=Discovery. Neither is Paid in Virling. - Keep names short. Virling cuts each value at 200 characters, and Taboola’s API docs give 255 as the limit for the tracking code.
- Give a creative its own campaign when you would stop it on its own.
utm_contenthas no row in Virling, so a headline test that needs a revenue number needs twoutm_campaignvalues. - On another network, use the macros in its current help page. Do not copy one from here.
After the ad is live, read the first rows of the Keyword tab. If you see the braces themselves, the network did not fill the macro in. For naming rules, see revenue by campaign.
Why utm_medium=native is not Paid
Virling gives each session one channel from its first pageview, and the first matching rule wins. The paid mediums are cpc, ppc, paid, paidsearch, paid_social and paidsocial, in any case. native, cpm, display and discovery are not on the list, so the visit falls through to the next rules:
| The click | With cpc | With native or cpm |
|---|---|---|
| Referrer is a site Virling does not know, such as a news site | Paid | Referral |
| Referrer is a known search host, such as a yahoo.com page | Paid | Organic search |
| Referrer is a known social or community host | Paid | Social or Communities |
No referrer, utm_source=taboola or outbrain | Paid | Referral |
No referrer and no utm_source | Paid | Referral, or Social when an in-app browser such as Facebook’s names itself |
The Organic search row is the worst of these: money you paid for clicks is added to the channel you think is free. The campaign is still stored, so the Campaign tab finds it, but the Paid channel and the Profit by channel card miss it. Use cpc even when you buy by impressions. The full list is in how channels are decided.
Step 2: add the script and link checkout
Add the Virling script to every page an ad can land on and to your app. If the ad lands on an article, the article needs it too, and any redirect must keep the query string. Then connect your payment provider and pass the visitor ID into checkout, as described in link checkout to visits. Without it, a payment counts as revenue and no placement gets it.
Step 3: read payments by placement
- In the Channels card, click Paid. The page filters to visits with a paid medium, from every network you tag this way.
- Open the Campaign tab and click the native campaign, so search ads do not mix in.
- Open the Keyword tab. It lists
utm_term, so here each row is a publisher, with visitors, revenue and revenue per visitor. - The tab shows the top rows. For a long list of publishers, read the
keywordbreakdown from the API. - Check the Landing page tab of the Pages card. A weak page can look like a weak publisher; see landing page revenue tracking.
Virling has no spend per publisher. Take it from the ad network’s report for the same dates, and divide it by the visitors in Virling, not by the network’s clicks. The two are counted differently.
A made-up example: three placements
These numbers are invented to show the arithmetic. One campaign ran on three publishers for 60 days. Every payment is $60 and the margin is 70%, so a customer brings $42 before ad spend.
| Placement | Spend | Visitors | Payments | Revenue | Revenue per visitor | Spend per visitor | Spend per payment |
|---|---|---|---|---|---|---|---|
| news-site | $600 | 1,000 | 18 | $1,080 | $1.08 | $0.60 | $33.33 |
| weather-app | $900 | 3,000 | 6 | $360 | $0.12 | $0.30 | $150.00 |
| recipe-site | $300 | 250 | 3 | $180 | $0.72 | $1.20 | $100.00 |
Stop weather-app. It has the cheapest visitors and the most of them, and it loses money: at a 70% margin a visitor is worth $0.08 and costs $0.30. At this rate of payments, a click would have to cost less than $0.08 to break even. Keep news-site: a visitor is worth $0.76 after margin and costs $0.60, and $33.33 per payment is under the $42 limit. Do not judge recipe-site yet: $300 would need 8 payments to break even and it has 3, but on 250 visitors a few more would change the answer. Cap its spend, wait for buyers who pay late, and stop it if the gap stays. To run your own rows, the CPC calculator gives cost and revenue per click, and the break-even CPA calculator gives the most you can pay for a customer.
To see this table for your own placements, start a trial, tag one campaign and connect your payment provider.
Buyers who come back later
Somebody reading an article did not set out to buy, so the payment can come well after the click. Three settings decide whether the ad still gets it.
- The model. The default, last non-direct, credits the latest visit that was not Direct. A reader who clicks your ad, then searches for your name and pays, is credited to the search. First touch credits the earliest visit in the window. Compare both before you stop a campaign; saving a change rebuilds the history, and you can switch back.
- The window. Only visits inside the lookback count: 90 days by default, or 30, 60 or 365. See how long a visit gets credit.
- The range. Revenue counts on the payment date. Start the range on the first day of the campaign, and leave recent clicks time to pay.
Two things stay out of reach. A person who saw the ad without clicking has no visit, so no view gets credit. And a click on a phone followed by a payment on a laptop is two visitors unless something joins them; see cross-device attribution.
What to check if the numbers look off
- The ads show as Referral. The medium is not one of the six paid ones. A suggested string with
referralorDiscoverydoes this. - The Keyword tab shows braces. The macro was not filled in. Compare it with the network’s help page.
- One publisher has two rows. Two campaigns use different macros in
utm_term, such as a name in one and an ID in the other. - The network reports more clicks than Virling shows visitors. One person can click twice, and a visit is missed when the page is left before the script runs or the script is blocked.
- Revenue is Unattributed. The visitor ID did not reach checkout, or the visit is older than the window.
For the same setup on other platforms, see LinkedIn Ads revenue tracking and Reddit Ads revenue tracking. For placements you book directly with a newsletter, podcast or creator, see sponsorship revenue tracking.
Frequently asked questions
How do I track revenue from native ads?
Add utm_source, utm_medium=cpc, utm_campaign and a publisher value in utm_term to every ad, add the Virling script to your site, and pass the visitor ID into checkout. Each payment is credited to a visit, and the Campaign and Keyword tabs show revenue per visitor for each campaign and publisher.
Is utm_medium=native counted as paid traffic?
Not in Virling. Only cpc, ppc, paid, paidsearch, paid_social and paidsocial are Paid. A visit tagged native or cpm is sorted by its referrer, then by its source tag, so it usually becomes Referral, and can become Organic search, Social or another channel.
Where do I see revenue by publisher?
Put the publisher macro in utm_term. Click Paid in the Channels card, then open the Keyword tab, which lists utm_term with visitors, revenue and revenue per visitor. The tab shows the top rows only, and the API's keyword breakdown lists more.
Does Virling report on utm_content?
It stores utm_content with the visit, but there is no row for it on the dashboard. To compare two creatives by revenue, give each one its own utm_campaign.
Does Virling count views of a native ad that nobody clicked?
No. Virling records visits to your site. A person who sees the ad and later types your address has no tagged visit, so the ad gets no credit for that payment.
Does Virling connect to my native ad account?
No. The setup on this page uses only the tags on your ads and your payments. Take the spend per publisher from the ad network's own report and use the same dates.
See which native ad placement pays
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.