Google Ads revenue tracking: see which campaign brings paying customers
By Devendra Variya, co-founder of Virling. Published 2026-11-23, updated 2026-11-29.
Google Ads revenue tracking means joining each payment on your site to the ad click that brought the buyer. Add utm_source=google, utm_medium=cpc and a utm_campaign to the final URL of your ads, pass the visitor ID into checkout, and Virling credits each payment to the tagged visit as Paid. The Campaign tab then shows revenue per campaign, and once you enter your monthly spend, profit per channel. Google Ads reports clicks and the conversions it is told about; the payment your provider recorded, after refunds, is what you are paid in.
Tag the ad, not just the account
Virling reads UTM parameters on the page the visitor lands on. Put them on the final URL of each ad, or in the account’s final URL suffix, so every ad gets them:
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}
{campaignid} is one of Google’s ValueTrack parameters and is filled in with the campaign’s ID when the ad is clicked. You can type a readable name instead, such as brand-search. Pick one style and keep it, because a campaign named two ways becomes two rows. The free UTM builder makes the tagged URLs for you. For the account-wide way, the Google Ads tracking template builder makes the final URL suffix with ValueTrack parameters.
What about the gclid?
Auto-tagging adds a gclid to every ad click, and it is useful to Google. Virling does not read it. Its channel rules look at utm_medium, the referrer, utm_source and ref, so leave auto-tagging on for Google and add UTM tags for Virling. The two do not conflict; gclid vs UTM tags explains what each one does. Ad clicks can also carry gbraid, wbraid or gad_source; see what gbraid, wbraid and gad_source mean.
Auto-tagging and UTM tags together
Use both. Google’s auto-tagging page says the setting adds a gclid to the URL, is on by default for new accounts, and that you can also tag your ads with UTM parameters by hand. With both on, a click lands on an address like this one, with made-up values:
https://example.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=123456789&gclid=EXAMPLE1
Of the two, Virling reads only the UTM tags. Google Ads has two fields for them:
- Final URL suffix. Parameters only, with no question mark in front. Google attaches them to the end of the landing page URL, and you can set it on the account, a campaign, an ad group, an ad or a keyword (add a final URL suffix). Use this one for UTM tags.
- Tracking template. A whole URL that has to contain a parameter such as
{lpurl}, which inserts your final URL. Without one the landing page URL breaks (ValueTrack setup). With several templates, the most specific level is used (tracking in Google Ads). Use it when a click tracker needs it. With parallel tracking, the visitor goes straight to the final URL and the tracker loads in the background, so tags that only the tracker adds may never reach your page.
Put the UTM tags in one field, not both, or they can appear twice. The Google Ads UTM builder writes either one. Press Test in Google Ads before you save, then click through and check that the tags are still in the address bar.
Why untagged ad clicks show as Organic search
An ad click comes from a Google page, so with no UTM tags the referrer says Google and the visit is sorted as Organic search. That puts ad revenue in the same row as your free search traffic, and you can no longer tell whether the ads or the articles paid. Tagging fixes it because utm_medium is checked first: a click from google.com that carries utm_medium=cpc is Paid. See organic search revenue tracking for the free side.
How Virling sorts a Google Ads visit
Every session gets one channel from its first pageview. A medium of cpc, ppc, paid, paidsearch, paid_social or paidsocial, in any case, is the Paid channel, and it wins over the referrer. native and cpm are not on that list, which matters if you also buy native ad placements on publisher sites. The source and campaign are stored with the visit. See how channels are decided.
When a payment comes in, it is joined to the visits before it. Under the default model the whole payment, after refunds, is credited to the latest visit in the last 90 days that was not Direct, and to that visit’s channel, source, campaign and landing page. A buyer who clicks your ad on Monday and comes back on Thursday by typing your address is still credited to the ad. See the attribution model.
Link checkout to the visit
The click is only half of the join. Your payment provider must receive the visitor ID so the payment can be matched to the visit. The setup is different for each provider; see link checkout to visits, and Stripe Checkout UTM parameters if you use Stripe.
See payments per campaign
1. Open the Paid channel
On the dashboard, the Channels card lists each channel with visitors, revenue and revenue per visitor. Click Paid and the whole page filters to visits from your ads.
2. Switch to the Campaign tab
The Campaign tab has one row per utm_campaign, with visitors and revenue. Compare campaigns by revenue per visitor, not clicks. Revenue by campaign shows how to read the rows next to your spend. A campaign with fewer visitors can bring more revenue per visitor than a broad one. See what revenue per visitor is.
3. Add what you spend
In Site settings, under Monthly spend per channel, enter a line such as Paid 300. The Profit by channel card then shows spend, revenue, profit and return per dollar spent for the range you pick. Nothing connects to Google Ads, so the numbers are only as good as the amount you type. For the arithmetic, try the ROAS calculator and the CAC calculator.
4. Give it time
Buyers often pay days after the click. The Time to pay card shows how long each channel’s customers take, so check it before you cut a campaign that looks weak. See how long a visitor takes to become a customer.
A worked example: four campaigns and their spend
Example only: made-up numbers for an imaginary software business over one month, not results from a real one. Each customer pays once in the month, so payments and paying customers are the same count. Clicks and spend are copied from Google Ads; payments and revenue are what was credited to each campaign.
| Campaign | Clicks | Spend | Payments | Revenue | Cost per paying customer |
|---|---|---|---|---|---|
| brand-search | 300 | $240 | 24 | $1,176 | $10.00 |
| category-search | 500 | $900 | 15 | $735 | $60.00 |
| feature-search | 120 | $300 | 10 | $990 | $30.00 |
| pmax-all | 800 | $640 | 8 | $392 | $80.00 |
| All four | 1,720 | $2,080 | 57 | $3,293 | $36.49 |
Read the last column next to what a customer paid. pmax-all has the most clicks and costs $0.80 a click, the same as brand-search, yet each customer cost $80.00 and paid $49. feature-search has the dearest clicks at $2.50, but a customer cost $30.00 and paid $99, so it made $690 after spend. category-search paid $60.00 for a $49 payment: a loss this month, and only renewals or late payers could turn it around. brand-search looks best at $10.00, but some of those people were already looking for you. Together the four made $1,213 after spend, which hides two campaigns that lost money. With 8 to 24 payments a row, a few buyers can change the order, so look at a longer range before you move budget.
Virling supplies the payments and revenue side. The Read API breakdown by campaign returns payments, customers and revenue. Spend per campaign stays in Google Ads, so copy it into a sheet for the same dates and do this division there. In Virling you enter one monthly total for the channel, here Paid 2080.
What to check if the numbers look off
- Ad revenue shows as Organic search. The final URL has no
utm_medium=cpc. Click your own ad and check the address bar. - Ad revenue shows as Direct. A redirect dropped the tags before your page; see UTM parameters lost after redirect.
- Campaigns are split across rows. The same campaign is tagged two ways, such as an ID in one ad and a name in another.
- Revenue shows no channel at all. The payment was not matched to a visit. Pass the visitor ID into checkout.
Symptom, cause and fix: brand search, redirects and Performance Max
- Brand search looks far better than every other campaign. Cause: people who already know you search your name and click the ad, and under the default model the latest visit that was not Direct gets the payment. Fix: give brand terms their own campaign and
utm_campaign, read it apart from the rest, and see which visit came first by switching the site to first touch for a look. Saving rebuilds the credit of every payment, and switching back restores it; see the attribution model. - Clicks in Google Ads, but the campaign has few or no visitors in Virling. Cause: a redirect on your site, such as http to https, www or a trailing slash, drops the query string. Fix: make the final URL the address the redirect ends on, and have each redirect keep the query string. UTM parameters lost after redirect has the checks.
- Performance Max visits show as Organic search on some pages. Cause: final URL expansion is on by default and can send people to another page on your domain (Google on final URL expansion), so tags typed into one final URL may not be on it. Fix: put the tags in the final URL suffix of the campaign or account, and exclude pages you do not want ads to open.
- Performance Max has a blank keyword. Cause:
{keyword}returns nothing when an ad matches without keywords. Fix: use{campaignid}forutm_campaignand, if you want more detail,{assetgroupid}forutm_content; Google lists both for Performance Max (ValueTrack setup). - Performance Max takes credit for brand searches. Cause: the campaign may have shown on searches for your name. Fix: add a brand exclusion, which Google offers for Search and Performance Max, then compare the campaign before and after.
To compare ads with the other places you pay or post, see how to find which channel pays. For ads on Bing, see Microsoft Ads revenue tracking; the Microsoft Advertising tracking template builder writes the suffix there. For campaigns aimed at people who have already visited, see retargeting revenue tracking. For video campaigns, see YouTube Ads revenue tracking, and for promoted Pins, Pinterest Ads revenue tracking.
Frequently asked questions
How do I see which Google Ads campaign brought a paying customer?
Add utm_source=google, utm_medium=cpc and a utm_campaign to the final URL of your ads. Connect your payment provider and pass the visitor ID into checkout. Each payment is credited to the tagged visit, and the Campaign tab shows revenue per campaign.
Does Virling read the gclid from Google Ads?
No. The channel rules use utm_medium, the referrer, utm_source and ref, and the docs do not list gclid. Tag your ads with UTM parameters; the gclid can stay on for Google's own reports.
Which channel does a Google Ads click land in?
Paid. utm_medium=cpc, ppc, paid, paidsearch, paid_social or paidsocial is the Paid channel, and the medium is checked before the referrer, so a click from google.com that carries utm_medium=cpc is Paid, not Organic search.
Does Virling connect to Google Ads to pull in my spend?
No. Nothing connects to an ad platform. You type what you spend on Paid each month in site settings, and the Profit by channel card then shows profit and return per dollar spent for the channel, only as good as the amount you type.
Why is my ad revenue showing as Organic search or Direct?
The ad's final URL has no utm_medium=cpc, so the click is sorted by its Google referrer as Organic search, or has no referrer and counts as Direct. Add the tags to the final URL or the tracking template and click your own ad to check.
Can I use Google Ads auto-tagging and UTM tags at the same time?
Yes. Auto-tagging adds a gclid for Google, and the UTM tags say the source, medium and campaign to any tool that reads them. Put the UTM tags in the final URL suffix, leave auto-tagging on, and check that both are in the address bar after you click the ad.
How do I work out cost per paying customer for a Google Ads campaign?
Divide what the campaign cost in Google Ads by the paying customers credited to it over the same dates. Virling gives you the customers and revenue per campaign. It does not read your spend, and the monthly spend you enter is per channel, so do the division per campaign in a sheet.
See which Google Ads campaign 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.