LinkedIn Ads revenue tracking: see which campaign brings paying customers
By Devendra Variya, co-founder of Virling. Published 2026-11-24, updated 2026-11-30.
LinkedIn Ads revenue tracking means joining each payment to the LinkedIn ad click that brought the buyer. Add utm_source=linkedin, utm_medium=paid_social and a utm_campaign to your ads, add the Virling script to your site, and pass the visitor ID into checkout. Virling counts the click as Paid and credits the payment to it, so the Campaign tab shows revenue per campaign. Two things are different for B2B: the payment can come months after the click, and a lead form filled in on LinkedIn never sends a visit at all.
Step 1: tag the ad in Campaign Manager
Campaign Manager can add URL parameters to your ads for you. Set these as static parameters, with your own campaign name:
utm_source=linkedin&utm_medium=paid_social&utm_campaign=demo-cfo-q4
LinkedIn’s help page says static parameters support any UTM parameter you choose, at the account, campaign or ad level, with letters, numbers and underscores in keys, and plus signs and hyphens as well in values. Parameters from the three levels are combined on the final link, so check that the same key is not set twice (source: LinkedIn, URL tracking parameters in Campaign Manager). The source and medium can be shared by the whole account; give each campaign its own utm_campaign.
- Dynamic parameters. LinkedIn can also fill in values such as
{{CAMPAIGN_ID}}. The help page shows it under the keycampaign_id, which Virling does not read. LinkedIn’s API docs showutm_campaignfilled withCAMPAIGN_NAME(source: LinkedIn, Dynamic UTM Tracking). Either way, the value must be underutm_campaignto show as a campaign row, and a typed name does that without it. - Mind the rename. The help page says the names of the levels changed starting in October 2025: the new dynamic parameters list ad sets, the old ones list campaign groups. Check what a campaign means in your account before you compare old rows with new ones.
- Set the level once. If the account level says
utm_campaign=q4and an ad saysdemo-cfo-q4, the reports split one effort into rows you have to add up. - Tag message ads by hand. The API docs say dynamic tracking does not support Conversation Ads and Message Ads. Put the full tagged URL in the message.
The free UTM builder makes tagged links for you. If you use dynamic parameters, the LinkedIn ads dynamic UTM builder writes the string to paste in Campaign Manager.
The paid_social medium puts the click in Paid even though it comes from linkedin.com; without a paid medium, an ad click lands in Social next to your company page posts, and a hyphenated paid-social or a sponsored medium does not count as paid. The full order of rules is in how channels are decided, and unpaid posts are covered in LinkedIn revenue tracking.
Step 2: join the visit to the payment
The script on your pages sets a first-party visitor ID, and checkout carries it to the payment, so the payment can be credited to the ad visit; link checkout to visits shows the setup for each provider. A B2B deal often has no checkout at all, which is the next part.
Demo bookings that end in an invoice
Most LinkedIn campaigns for software sell a demo, not a plan. The buyer clicks, books a call on your site, and pays an invoice your sales team sends weeks later. Send the buyer’s email as an identify event when they book or sign up on your own site, and a later Stripe payment with the same payer email is credited to that visitor and so to the campaign of the ad. Email matching works for Stripe, Shopify and WooCommerce only. Demo booking revenue tracking walks through the booking form, and Stripe invoice attribution covers the invoice side.
The person who books is not always the one who pays. If finance pays from an address that never came to your site, the payment is Unattributed unless the payer email matches the one you identified.
Account-based campaigns
LinkedIn lets you aim an ad at a list of companies you upload, so a campaign can target fifty named accounts instead of a job title. Virling sees people, not companies: it does not name the employer behind a visit. To read revenue per account list, give each list its own campaign name, such as utm_campaign=abm-tier1 and abm-tier2, and compare the rows.
- Several people, one deal. Three people from one account may click; each is a separate visitor. The payment goes to the visitor whose ID or identified email reaches it.
- Small lists, few payments. A short list brings few deals, so read them one by one on the Payments page rather than trusting a revenue per visitor figure.
- Spend per list. Campaign Manager shows what each list costs; Virling shows what each list paid. Put the two side by side yourself.
A 60 to 180 day cycle and the 365-day window
Only visits inside the lookback window can take credit. The default is 90 days, and you can choose 30, 60, 90 or 365. If your deals take anywhere from two to six months from first click to paid invoice, every deal past day 90 loses the ad visit and falls to a later channel or to Unattributed. Choose 365; saving it rebuilds attribution for past payments, so you can see the change at once. See how long a visit gets credit.
The model matters as much. Last non-direct, the default, credits the latest visit that was not Direct, so a webinar email in month three takes the credit from the ad in month one. First touch credits the earliest visit in the window and shows which campaigns open deals. Compare both before you cut a campaign.
A campaign launched last month cannot have closed many of its deals yet. Compare campaigns of the same age, and check Time to pay on the dashboard to see how long your buyers usually take. A buyer who clicks on a phone and pays on a work laptop is two visitors unless an identified email joins them; see cross-device attribution.
Lead Gen Forms that never send a visit
A LinkedIn Lead Gen Form opens from the ad and is filled in on LinkedIn, so your landing page never loads, the script never runs, and Virling has nothing to credit. If that lead pays and never visited your site, the payment is Unattributed: it counts toward revenue, but no campaign gets it. What you can do:
- Tag the confirmation link. LinkedIn lets you add a landing page or a booking link after the form (source: LinkedIn, Lead Gen Forms). Point it at your site with the same tags as the ad. Those who click become Paid visits.
- Tag the follow-up email. With
utm_source=linkedin&utm_medium=emailand the sameutm_campaign, a click is in the Email channel and keeps the campaign name. - Get one form on your own site. If leads book the demo on your page, the visit and the email can both be joined to the payment.
- Keep the campaign in your CRM. Hidden fields on the form can hold the campaign, ad set and ad ID or name (source: LinkedIn, Lead Gen Form hidden fields). Virling does not read them, but they let you check by hand.
To compare fairly, do not set a lead form campaign against a website campaign on Virling revenue alone. The first will look worse than it is.
What about the li_fat_id?
LinkedIn says that turning on first-party cookies adds a li_fat_id parameter to the URLs of your ads (source: LinkedIn, Troubleshoot implementing first-party cookies). It feeds LinkedIn’s own conversion reports. Virling never saves its value and never uses it to decide the channel; when a visit with no tags and no referrer would be Direct, the presence of li_fat_id lets the Direct breakdown call it a shared link instead of a typed address. Keep it on for LinkedIn, and rely on your UTM tags for the campaign.
Reading LinkedIn revenue in Virling
- Click Paid in the Channels card, then open the Campaign tab. Each
utm_campaign, LinkedIn or not, has its own row of visitors and revenue. - Open a won deal from the Payments page to see every visit before it, with the credited one marked. For B2B this list is often more useful than the totals.
- Type your monthly ad budget in Site settings, under Monthly spend per channel, such as
Paid 2000, to see profit for Paid in the Profit by channel card. That figure covers every platform you tag as Paid, and nothing connects to Campaign Manager.
An example: three campaigns, one quarter
Example data, made up to show the method: an imaginary expense software company runs three LinkedIn campaigns for a quarter, each sending clicks to a page on its own site, with the window set to 365 days. Spend is read from Campaign Manager; leads are the forms filled in on the site; paying customers come from the payments Virling credited to each campaign, and CAC is spend divided by paying customers.
| Campaign | Spend | Leads | Cost per lead | Paying customers | CAC |
|---|---|---|---|---|---|
| Ebook download, finance titles | $3,000 | 120 | $25 | 2 | $1,500 |
| Demo request, CFOs | $4,200 | 35 | $120 | 6 | $700 |
| Webinar, website retargeting | $1,800 | 45 | $40 | 3 | $600 |
| All three | $9,000 | 200 | $45 | 11 | about $818 |
Ranked by cost per lead, the ebook wins at $25 and the demo campaign looks worst at $120. Ranked by cost per paying customer, the order flips: the webinar is cheapest at $600, the demo campaign second at $700, and the ebook last at $1,500, since its 120 leads became only 2 customers. Check your own figures in the CAC calculator, and give each campaign its own name with the LinkedIn ads dynamic UTM builder so each one gets its own row.
When the LinkedIn numbers look wrong
- Campaign revenue sits under Social. The medium is missing or misspelled. Open your own ad preview and read the address bar.
- A campaign row is missing. Its ads carry only
campaign_id, which is not read, or no tags at all. - Campaign Manager shows more clicks than Virling shows visitors. LinkedIn lists reasons, such as chargeable clicks that do not go to the landing page, reports in GMT, and browsers that block scripts or cookies (source: LinkedIn, Third-party reporting doesn’t match Campaign Manager).
- Closed deals show as Unattributed. The lead came through a Lead Gen Form, the invoice was paid from an email you never identified, or the first click is older than the window.
For the wider picture, see attribution for B2B SaaS teams. For ads on Reddit, see Reddit Ads revenue tracking. Cheaper reach with a different set of problems is in X Ads revenue tracking, and Quora is in Quora Ads revenue tracking.
Frequently asked questions
How do I see which LinkedIn ad campaign brought a paying customer?
Set utm_source=linkedin, utm_medium=paid_social and a utm_campaign as static parameters in Campaign Manager, run the Virling script on your site, and carry the visitor ID into checkout, or identify the buyer by email when the deal closes on an invoice. The Campaign tab under Paid then lists revenue per campaign.
Which channel does a LinkedIn ad click land in?
Paid when the link has a paid medium such as paid_social, even though the referrer is linkedin.com. Without one, the click sits in Social with your company page posts, or in Direct when neither a referrer, a tag nor the LinkedIn app names LinkedIn.
Can Virling track a LinkedIn lead form?
Not the form itself. It is filled in on LinkedIn, so your site gets no visit. If the lead later opens a link to your site, such as the landing page on the confirmation screen, that visit is tracked. Tag the link so it is credited to the campaign.
Does a demo booked from a LinkedIn ad get credit for the invoice paid later?
Yes, if the booking happens on your own site and you send the booker’s email as an identify event. A later Stripe, Shopify or WooCommerce payment from the same email is credited to that visitor, and so to the ad, as long as the click is inside the lookback window.
Does Virling read li_fat_id?
It checks only that the parameter is present, so an untagged visit with no referrer shows as a shared link in the Direct breakdown. The value is never saved and never decides the channel, so it can stay on for LinkedIn’s own reports.
What attribution window should I use for LinkedIn Ads?
One longer than your usual sales cycle. For deals that take 60 to 180 days, the 90-day default drops many ad visits, so choose 365. Saving the setting rebuilds attribution for past payments too.
Does Virling connect to my LinkedIn ad account?
No. It reads the tags on the landing page and your payments, not Campaign Manager. To see profit, type your monthly ad budget for Paid in Site settings and the Profit by channel card uses it.
See which LinkedIn 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.