Postback URL Builder

Build an affiliate postback URL in your browser: pick click id, payout, sub id, transaction id and status macros, check it is https and copy it.

Build the postback URL your tracker gives to an affiliate network. Enter the address of your tracker, choose the values you want back and the name your tracker expects for each one, and copy the result. It runs in your browser: nothing you type is stored or sent anywhere.

ValueParameter name in your trackerMacro or fixed value
Click idThe click the conversion belongs to
PayoutYour payout for the conversion
Sub id 1
Sub id 2
Sub id 3
Sub id 4
Sub id 5
Transaction idThe advertiser's order id
StatusFor example Pending, Approved or Reversed

    Offer Capsule's macro names

    The values in braces are macros. When Offer Capsule fires your postback it replaces each one with the value for that conversion:

    • {click_id}: the click id the tracking link recorded.
    • {payout}: your payout for the conversion.
    • {sub1} to {sub5}: the sub ids you passed on the click, or {segment:Name} for a sub id by its name.
    • {order_id}: the advertiser's order or transaction id.
    • {status}: the conversion status, for example Pending, Approved or Reversed.
    • {offer_id} and {order_amount}: the offer and the sale amount, if you want them too.

    Offer Capsule URL-encodes every value it puts in, and a macro it does not recognise becomes empty instead of being sent as literal braces.

    Other trackers and networks name their macros differently, and some use a different bracket style. If you are building a postback for another network, check its documentation and type its macro names into the value fields. The builder keeps anything in single braces as a macro and URL-encodes everything else, so a fixed value such as a source name with spaces arrives intact.

    Frequently asked questions

    Why does the builder warn about http?
    An http postback travels unencrypted, so click ids and payouts can be read on the way. Use the https address of your tracker whenever it has one.
    What is a fixed value?
    A value that is the same on every postback, such as the name of the network or a campaign label. The builder URL-encodes it, so spaces and symbols such as & do not break the URL.
    Is anything I type saved?
    No. The builder runs in your browser and sends nothing to Offer Capsule or anyone else.

    New to postbacks? Read what a postback URL is and how affiliate postbacks work in Offer Capsule. Ready to run your own offers? Start a free trial or watch the demo.