Affiliate tracking
SubID — traffic source tracking
SubIDs let you pass tracking parameters from your traffic source through the short link all the way to the postback.
Add sub1–sub8 parameters to the short link URL:
These values are saved with each click and returned in postbacks and webhooks:
| Parameter | Example | Common use |
|---|---|---|
| sub1 | Traffic source (facebook, google, push) | |
| sub2 | campaign_spring | Campaign name or ID |
| sub3 | banner_v1 | Banner or creative ID |
| sub4–sub8 | ... | Any additional segmentation |
Postback (server-to-server conversion tracking)
When a conversion happens on the offer side, the affiliate network sends a postback request to your tapurl.io tracking URL. This records the conversion against the original click.
Your postback URL template:
| Parameter | Required | Description |
|---|---|---|
| click_id | ✓ | The click_id returned in the redirect URL or webhook payload |
| token | ✓ | Your personal postback token from account settings |
| payout | — | Conversion payout amount (e.g. 12.50) |
| status | — | approved, pending, or rejected (default: approved) |
| goal | — | Conversion goal name for segmentation |
| tid | — | Transaction ID from the affiliate network |
Find your postback token in Dashboard → My Account → Postback settings.
Click limit
Set a maximum number of clicks for a link. Once the limit is reached, the link stops working and visitors are redirected to the Fallback URL (or shown an «unavailable» page if no fallback is set).
Use this for limited offers, giveaways, or budget-controlled campaigns.
Expiry date
Set a date after which the link automatically stops working. Useful for time-limited promotions.
Expired links redirect to the Fallback URL if one is set, otherwise visitors see an «unavailable» page.
Fallback URL
The Fallback URL is where visitors are sent when a link has expired or hit its click limit.
Setting a fallback ensures no traffic is lost — redirect to another offer, a waitlist page, or your homepage.