Skip to main content
Set Revenue and Event cost in the campaign’s 2. Events tab. Use value for a separate quantity, such as items sold.

Pick the revenue source

Choose Advanced to set Revenue. Simple uses From incoming event. With From incoming event, missing or invalid payout records zero revenue. The event can still count as a conversion. Metricanic displays money in USD. Convert amounts to USD in the sending system when needed. Adding a currency parameter to the incoming URL does not convert them.

Decide whether there is an additional event cost

Avoid recording the same expense as both traffic spending and event cost. Revenue share uses recorded revenue. With fixed revenue of USD 20 and a 30% share, event cost is USD 6, even if the incoming payout is USD 24.50. No revenue gives a zero share.

Set up a purchase with a commission

This example records USD 100 revenue and a 50% commission. It also sends that commission to a partner.
  1. Edit the purchase event in 2. Events.
  2. In Advanced, enable Count as conversion and set Revenue to From incoming event. Simple already uses these settings.
  3. Set Event cost to Revenue share (%) and enter 50.
  4. Enable Outgoing postback.
  5. In Destination URL, use {event_cost} for the partner’s amount parameter.
  6. Save the campaign and send a new event with payout=100 and a unique transaction ID.
  7. Check the final URL in Postbacks and the amount received by the partner.
For a partner that uses ad_click and amount, the template could be:
Use the partner’s actual endpoint and parameters. If its amount parameter is payout, use payout={event_cost}. For Event 1 and a visit that cost USD 0.50, expect: The commission increases Cost and reduces Profit. Enter a different percentage for a different commission. To send a reduced amount without recording an expense, calculate it in the sending or receiving system.

Understand inclusion in totals

In Events, check Affects Revenue and Affects Cost to see whether an event’s amounts contribute to totals. Revenue N and Cost N show amounts for Event ID N, including amounts excluded from totals. Count as conversion controls conversion counts separately. If the full order amount arrives at two stages, choose one stage to contribute to total revenue. This prevents counting the earnings twice. Imported traffic-source spending and manual cost corrections can replace total Cost for a period. Indexed event costs remain available separately.

Keep quantity separate from money

For a two-item order, send:
Value 1 increases by 2. Two such orders give Value 1 = 4. A custom metric such as ifnull(value1 / event1, 0) shows items per Event 1. See Metric dictionary for CPA, ROI, and profit margin.