This article covers two related features that are often used together:
Revenue Share - the advertiser passes the revenue amount dynamically in the postback, instead of a fixed WeGet being configured on the offer
Margin - TheyGet for the publisher is calculated automatically as a percentage of WeGet, instead of a fixed payout amount
Revenue Share
Normally, WeGet is a fixed amount set on the offer. Revenue Share changes this - the advertiser passes the actual revenue per conversion in their postback using the sale_amount parameter, and Swaarm uses that value as the WeGet for each conversion.
Use this when your advertiser pays you a percentage of the actual sale value rather than a fixed CPI or CPA rate.
How to set up Revenue Share
Go to Offer → Edit → General tab
Enable the Revenue Share checkbox
Click Save
ℹ️ Ask the advertiser to pass the revenue amount in the sale_amount parameter in their postback URL:
https://track.{yourdomain}.swaarm-clients.com/postback?click_id={click_id}&sale_amount={revenue_amount}
Once postbacks start coming in, you can check the sale_amount value in Reports → Conversion Report in WeGet column.
Margin
Instead of setting a fixed TheyGet amount on the offer, you can set a margin percentage. Swaarm then calculates TheyGet dynamically for each conversion as:
TheyGet = WeGet × (1 − margin%)
This is especially useful when combined with Revenue Share - since you don't know WeGet in advance, you can't set a fixed TheyGet. Setting a margin ensures the publisher always gets the correct proportion of whatever revenue comes in.
How to set up Margin on an offer
Go to Offer → Edit → Payouts tab
Enter the Margin % - leave WeGet and TheyGet empty if using Revenue Share
Click Save
Example: If the advertiser passes sale_amount=10.00 and your margin is 30%, the publisher's TheyGet will be automatically calculated as $7.00.
Passing TheyGet to the publisher
To notify the publisher of their payout amount in the postback, use the
#{payout.theyGetInDollars} macro in their postback URL:
ℹ️ Ask the publisher what parameter name they use for the payout amount on their side, then map it to the correct Swaarm macro. See all publisher postback macros →
Using Revenue Share and Margin together
This is the most common setup for revenue share offers:
Enable Revenue Share on the offer - advertiser passes
sale_amountdynamicallySet a Margin % on the offer - Swaarm calculates TheyGet automatically
Add
#{payout.theyGetInDollars}to the publisher postback - publisher receives their share
This way the entire payout flow is dynamic - no fixed amounts needed on either side.
Verifying in the Conversion Report
Once postbacks are coming in, you can verify the revenue and payout values in Reports → Conversion Report.
What to check | Where to find it |
Revenue (WeGet) passed by the advertiser | Add the Advertiser Postback column - look for |
WeGet as recorded by Swaarm | Add the WeGet column - this will match the |
TheyGet calculated by Swaarm | Add the TheyGet column - this is the margin-calculated payout |
Payout sent to the publisher | Add the Publisher Postback column - check the payout parameter in the fired URL to confirm the correct TheyGet was passed |
ℹ️ If WeGet or TheyGet shows as $0, check that the advertiser is correctly passing sale_amount in their postback and that Revenue Share is enabled on the offer.


