How to track profit per campaign when cost and commission live in different places

November 28, 2026 · Hoplytic team · 5 min read

The short version: this guide in 67 seconds.
Read the video transcript

Your ad platform knows the cost. Your network knows the commission. How do you get profit per campaign?

It breaks the moment one side can't name the campaign. So give every click a campaign key that travels with it.

Either make a separate tracking link for each campaign, or add the ad platform's campaign ID macro to one link. Never let two campaigns share a link with no campaign value.

Attach cost at the same level as your campaign key. Put your click ID in the network's first sub-ID slot, so each sale matches its click. Profit is commission minus cost, grouped by campaign.

Judge days at least a few days old, because late sales keep arriving. Check profit on approved commission as well as all commission. And keep currencies apart until you convert them on purpose.

Hoplytic reports group by link, ad platform or campaign, with cost, profit, ROI and ROAS. Money stays in its own currency, so EUR and USD are never mixed by accident.

The full guide is right below. Hoplytic: ad tracking made simple.

Key points

Your ad platform knows what each campaign cost. Your affiliate network knows what each sale paid. Profit per campaign is the join between the two, and it breaks the moment one side can't name the campaign.

Short answer: give every click a campaign key that travels with it: one tracking link per campaign, or the ad platform's campaign ID macro on the link. Get cost onto those clicks, match sales back to the same clicks, and profit per campaign is commission minus cost grouped by that key. Treat recent days as provisional until late and pending sales settle.

The problem: two systems, no shared key

A typical setup has a push campaign on PropellerAds and two native campaigns on Taboola, all sending traffic to the same VPN offer. The network report shows 41 sales and $820 in commission. The ad platforms show $640 in spend across three campaigns. Total profit is $180, but which campaign made it? Neither report can say, because the network never saw the campaign names and the ad platforms never saw the sales.

The fix is a key that both sides share. In practice that key lives on the click, inside your tracker, because the tracker is the one place that sees the campaign (from the URL) and the sale (from the postback or network sync) for the same click ID.

Step 1: decide what "campaign" means in your tracker

There are two clean ways to do it. Pick one and stick to it.

ApproachHowGood forWatch out for
One tracking link per campaignMake a separate link for each ad campaign, named like prop-push-vpn-us-v2Few campaigns, mixed platforms, spend entered by handReusing a link in a second campaign silently merges them
One link, campaign ID macroAdd the platform's macro, e.g. &campaign={campaignid} on PropellerAds or &campaign={{campaign.id}} on MetaMany campaigns on one platform, cost passed per clickIDs are numbers; keep a note of which ID is which campaign

Whatever you choose, never let two campaigns share a link with no campaign value. That's the single most common reason profit per campaign can't be worked out later. The exact macro for each platform is on the ad platform macros page.

Step 2: get cost onto the same clicks

Cost arrives in one of three ways: a cost macro in the URL (push, pop and native networks), a fixed CPC you set, or daily spend you type in from the ad platform (Meta, Google and TikTok don't pass cost in the URL). The passing cost to your tracker guide covers each method. For profit per campaign the rule is simple: the cost must be attached at the same level as your campaign key. If you enter Meta spend by day, enter it per link, which means one link per Meta campaign.

Step 3: get sales onto the same clicks

Put your tracker's click ID in the network's first sub-ID slot so every sale can be matched to its click, then its campaign. A postback or an API sync both work; what matters is that the sale carries the click ID back. If sales arrive without it, they can't be assigned to any campaign. See sub-ID tracking if you haven't set that up.

Step 4: read profit the right way

Group by campaign with cost, commission and profit side by side. Then apply three corrections before you decide anything.

Late sales

Sales count at the time of the click that produced them. A campaign that shows $-35 on Tuesday morning can show $+12 on Friday after the late postbacks arrive. Compare campaigns on days that are at least a few days old, or on a 7-day window that ends a few days ago.

Pending, approved and rejected

Report two profit numbers: profit on all reported commission, and profit on approved commission only. A campaign that leads on the first and trails on the second is buying traffic the advertiser rejects. On lead offers with long approval times, the approved number is the one to scale on.

Currencies

If the offer pays in EUR and you buy traffic in USD, subtracting one from the other gives a meaningless number. Convert at a rate you choose, once, and note which rate. A tracker should show each currency separately rather than mixing them.

A worked example

Here are the three campaigns from earlier, a week after the period ended:

CampaignCostCommission (all)Commission (approved)Profit (approved)
prop-push-vpn-us$210.00$380.00$360.00$150.00
tab-native-vpn-us-a$260.00$300.00$220.00-$40.00
tab-native-vpn-ca$170.00$140.00$140.00-$30.00

The account total was profitable, but only one campaign earns. The first Taboola campaign looks fine on all commission and loses on approved: that's a quality problem, not a volume problem. The Canada campaign loses on both, so it's either the wrong geo for this offer or the wrong placements. Next step for both: break them down by site and ad. The when to cut a placement guide covers that decision.

A daily profit check that takes five minutes

  1. Open a report grouped by campaign for the last 7 complete days, excluding the last two days.
  2. Sort by profit. Anything negative for two windows in a row gets broken down by placement.
  3. Check that every campaign has cost. A campaign with commission and zero cost means the cost macro isn't filling or spend wasn't entered, and its "profit" is fiction.
  4. Check unmatched sales. Sales with no click ID belong to no campaign; a rising count means a link lost its sub-ID somewhere. The redirect checker shows whether it survives every hop.

How to do this in Hoplytic

Each link carries its cost (from the URL, a fixed CPC or spend by day), and Reports can group by link, ad platform or any value your clicks carry, such as campaign, with Cost, Profit, ROI and ROAS columns next to commission. Group by up to four levels, for example campaign, then zone, then device, compare with the previous period and export to CSV. Money stays in its own currency, so EUR commission and USD cost are never mixed by accident.

Group clicks and sales by source, then zone, then device.

Questions people ask

Should I track profit per campaign or per placement?

Both. The campaign is where you decide to keep spending at all; the placement, zone or ad is where you fix it. Start with the campaign total, then break the losing campaigns down.

Why does my campaign profit keep changing after the day ends?

Sales arrive late, pending sales get approved or rejected, and some ad platforms adjust spend for invalid clicks. A campaign day is usually stable after a week, longer for offers with long approval times.

Can I track profit per campaign in a spreadsheet?

Yes, if both your ad platform export and your network export share a campaign key, such as a sub-ID you filled with the campaign ID. Without that shared key you can only compare totals, not campaigns.

More in Optimization and ROAS

Also: tracking glossary · ad platform macros · Markdown copy