Product
Publishers
Advertisers
Networks
Help
Pause animations
Browse help topics
How-to PublisherNetwork

Build a tracking link

Updated

View as Markdown

Open the offer under Offers, copy the link from its Tracking link card and put each user’s own ID in place of {SUB_ID} every time you show it. That ID comes back on the postback, so it’s how you know whom to credit.

See also: Click tracking

On this page

Steps

  1. Offers, then Get offer

    Open Offers, find the offer and choose Get offer. The offer’s page opens, with its details and steps.

  2. Request access if the offer asks for it

    Some offers need our approval for each publisher. If the page shows Request offer access instead of a link, choose it: the tracking link appears on the page once we approve.

  3. The card holds the link with your IDs already in it. Choose Copy link. It looks like this:

    https://click.affiliateos.ai/click?off_id=aff_ab12cd34ef56&pub_id=pub_7Hn2&partner_id=prt_Q81x&sub_id={SUB_ID}&device_id={DEVICE_ID}

    Example IDs. Keep every part except the two placeholders exactly as copied.

    PartWhat it isChange it?
    off_idThe offerNo
    pub_idThe network your account belongs toNo
    partner_idYour account: who gets paid for the clickNo. Strip it and the conversion isn’t yours.
    sub_id={SUB_ID}Your user’s IDYes, every time, for every user
    device_id={DEVICE_ID}The phone’s advertising IDFill it in when you have it, or leave it
  4. Put your user’s ID in place of {SUB_ID}

    Where you show the offer (a button in your app, a link in an email to one reader), replace {SUB_ID} with that user’s own ID, URL-encoded. Example, for user u_48213:

    https://click.affiliateos.ai/click?off_id=aff_ab12cd34ef56&pub_id=pub_7Hn2&partner_id=prt_Q81x&sub_id=u_48213&device_id={DEVICE_ID}
  5. Add your own values if you need them

    Replace {DEVICE_ID} with the IDFA or GAID when you have it, and append up to ten of your own values as sub1 to sub10 to get them back on the postback. Pass your user ID and sub IDs on a tracking link lists every parameter and its limits.

  6. Check it worked

    On the Tracking link card, type a test user’s ID in Test with one user ID (optional), copy the filled link and open it on your phone. Complete the offer, then open Reporting, then Flight Recorder, and type the same ID in Sub ID to trace the conversion to your postback. A link with no sub_id at all is refused.

The offer’s page saysWhyWhat to do
Capped for today, with a time it reopensThe offer hit its daily capCome back after that time, or run another copy of the offer from the link on the card
Your access request is pendingWe haven’t decided yetWait for the link to appear
Access was declined for this offerWe declined your request, sometimes with a note under the messageRead the note, and email hello@affiliateos.ai with the offer ID before you ask again
This offer is not active right nowThe advertiser paused it, or it endedPick another offer
Your access is approved, but the tracking link is not configured yetThe link isn’t set up on our sideEmail hello@affiliateos.ai with the offer ID

With Offer Links, our team picks offers for you and sends a tracking link for each. Those links work the same way: put your user’s ID in sub_id before you show them.

If your account uses Properties & Apps

Each property with Tracking Links turned on has its own link template on its Overview tab, with an asset_id in it so clicks and conversions keep the property. It also carries {OFFER_ID}: put the offer’s ID there as well as your user’s ID in {SUB_ID}.

For networks

Your publishers copy their links from their own dashboard, the same way. When your network sends traffic itself, use each offer’s trackingUrl from the Network API. Your network ID is already in pub_id; replace {SUB_ID} with your user’s ID, the same as above.

Support

Still stuck? Write to us.

One address for every question: hello@affiliateos.ai. Put the details from this list in your first message so we can find the click or conversion without asking you for them again.

Put these in your message

  1. 01The email you sign in with
  2. 02Your role: publisher, advertiser or network
  3. 03The offer ID
  4. 04The click ID or action_id
  5. 05The time it happened, with your time zone
  6. 06What you expected to happen

Looking for a reward in an app? Ask that app's support. It credits your reward, so only it can see your balance.

Search help