How to Create a Traffic Source
Rinku supports two types of traffic sources: custom and integrated. The type you choose affects how parameters are configured and what optimization features become available.
Custom vs Integrated Sources
| Custom | Integrated | |
|---|---|---|
| Setup | Manual parameter mapping | Auto-filled from network template |
| Supported networks | Any | Adsterra, ExoClick, Galaksion, HilltopAds, PropellerAds, RichAds, TrafficStars |
| Zone blocking | Manual only | Manual + automatic via API |
| Auto-optimization | — | Available if enabled on the campaign |
Custom sources work with any traffic network. You define which parameters the source passes and configure everything manually.
Integrated sources are linked to a supported network account via API. The form pre-fills the correct parameter mapping for that network, and Rinku can block underperforming zones automatically through the network's API when optimization rules trigger.
To connect an integrated source, you first need to add the network account in Integrations. See the Optimization overview for more on what integration unlocks.
Step-by-step
1. Open the Sources tab
Go to the Sources tab and click New Source.
2. Choose the source type
- To create a custom source, click Custom.
- To create an integrated source, click the network name (e.g. ExoClick, Adsterra). The form will pre-fill parameter mappings and prompt you to select a connected network account.
3. Set the name
Enter a readable Name for this source (e.g. "Propeller Ads", "ExoClick Main", "AdNetwork X").
4. Configure input parameters
In the Input parameters section, you define which values the source passes to Rinku. Each row has two parts:
- Rinku token: the field in Rinku, such as
net_source. Its label (for example "Network source") is shown in campaign settings and stats and can be renamed; the label is shared across all campaigns and sources. - Source token: the network's macro that fills this field, such as the network's zone macro.
When Rinku builds the campaign URL, it uses the Rinku field as the parameter name and the source token as its value, wrapped in braces:
| Source token you enter | In the campaign URL |
|---|---|
zoneid | net_source={zoneid} |
{ad.id} | net_source={{ad.id}} |
So enter the macro without its outer braces: Rinku adds one pair. For example, PropellerAds documents its zone macro as {zoneid}, so you enter zoneid; Facebook uses {{ad.id}}, so you enter {ad.id}. After saving a campaign, check its Campaign URL to confirm every macro looks exactly as the network expects.
net_source is the zoneRinku treats net_source as the zone: it is what you see as Source in Analytics, what optimization rules evaluate and block, and what Reconciliation matches cost files against. Always put the network's zone (or placement) macro here.
For integrated sources, the correct mapping for that network is filled in automatically.
You can add more fields with Add token: up to 30 tokens (token_1 … token_30) are available. Assign readable names in Account Settings.
Fields available for custom sources:
| Rinku field | Typical use |
|---|---|
net_source | Zone / placement ID |
net_external_id | The network's click ID, used for postbacks to the source |
net_pid | Publisher ID |
net_creative | Creative ID |
net_campaign | The network's campaign ID |
New custom sources start with placeholder values (such as source_id for net_source). Replace them with your network's macros and remove the fields you don't use.
5. (Optional) Connect an external account
For integrated sources, select an existing network account from the dropdown, or click Connect new account to add one inline. This connection is what enables automatic zone blocking.
6. (Optional) Configure Source Postback
If you want Rinku to send postbacks back to your traffic source:
- Enter the Postback URL the source expects
- Configure which fields to include and in what format
7. Save
Click Save. On the source detail page you'll see:
- Source ID, name, campaign count
- Input parameters and postback settings
- Tokens to copy into your campaign tracking links
8. Use it in a campaign
When creating or editing a campaign, select this source in the Traffic Source field. Rinku will use the input parameters you configured when generating tracking links and processing incoming clicks.
Tracking link examples
Simple example
https://rinku.cc/c/ABCDEF?rinku_token={source_token}&sub1={token_1}&cid={click_id}
With network fields
A campaign URL for a source where net_source = zoneid and net_external_id = clickid:
https://your-domain.com/c/ABCDEF?net_source={zoneid}&net_external_id={clickid}
The network replaces {zoneid} and {clickid} with real values on every click.
Postback example
If your source postback URL template is:
https://partner.example.com/postback?cid={click_id}&payout={payout}&sub1={token_1}
Rinku will replace {click_id}, {payout}, and {token_1} with real values and fire the request on each counted conversion. If the offer uses multiple events, the source gets one postback per counted event, carrying that event's payout. Events that don't count are not sent.
Common issues
| Problem | Solution |
|---|---|
| Source not passing expected parameters | Open the campaign URL and check that each macro appears exactly as the network expects it. Rinku adds one pair of braces to the source token, so a macro entered with braces ends up double-wrapped |
A macro appears as a value in Analytics (e.g. {{ad.id}}) | The network didn't replace it. Check the macro spelling and that the ads use this campaign's URL |
| Source not visible when creating a campaign | Make sure the source was created under the same account you're currently using |
| Network account dropdown is empty | Go to Integrations and connect an account for the selected network first |
Next steps
- Create a Campaign and attach this source
- Set up Parameter Mapping on your offer
- Set up Optimization Rules to monitor zone performance
- Reconcile costs with your network's report, or Facebook Ads costs