Docs

Getting started with Cybkit Tracker

From sign-up to your first tracked conversion: traffic source → offer → campaign → postback. Follow the steps in order the first time; later you will only need the reference parts.

On this page

On this page

  1. Create your account
  2. Add a traffic source
  3. Add an offer
  4. Add landing pages
  5. Create a campaign
  6. Use the tracking link
  7. Set up the postback
  8. Track events
  9. Fingerprint script
  10. Read your reports
  11. Troubleshooting

1Create your account

Sign up at tracker.cybkit.com/register with your name, e-mail and a password, confirm your e-mail address and log in. Every new account starts on the Free plan with all features.

The tracker’s menu has a section for each step below: Traffic Sources, Offers, Landing Pages, Campaigns and, later, Reports.

2Add a traffic source

A traffic source is the ad network you buy traffic from. Telling the tracker which macros it supports lets every click carry the zone, creative, cost and the source’s own click ID.

  1. Open Traffic Sources and click Add.
  2. If your network is in Load Template (Adsterra, Kadam, RollerAds, Galaksion, TrafficJunky, UngAds, MyBid, TrafficNomads), pick it: the fields below are filled in for you. Otherwise enter a name.
  3. Turn on Use Tokens and fill in one row per value you want to receive. Parameter is the name used in your tracking link; Placeholder is the source’s macro that fills it.
  4. Optionally enter a Postback URL to report conversions back to the source (see below).

Example for a push network whose macros are {clickid}, {cost}, {zoneid} and {creativeid}:

FieldParameterPlaceholderWhat it is for
External IDclickid{clickid}The source’s click ID, needed to send conversions back to it
Costcost{cost}Cost of the click, for profit and ROI
Token 1zone{zoneid}Find and cut losing zones
Token 2creative{creativeid}Compare creatives

Postback to the traffic source

If the source supports conversion postbacks, paste the URL it gives you and use these macros. The tracker calls it for every new conversion or sale that is not rejected:

https://network.example/conversion?clickid={external_id}&payout={payout}&status={status}

Available macros: {external_id} (the source’s click ID), {payout}, {status}, {transaction_id}, {campaign_id}, {click_id} (the tracker’s click ID) and {token1}…{token8}.

3Add an offer

The offer is the page of the affiliate network or advertiser that pays you. Open Offers, click Add and enter:

  • Offer Name — anything that helps you recognise it.
  • Offer URL — your affiliate link. It must carry the tracker’s click ID in the network’s sub-ID parameter (often sub_id, aff_sub, subid1 or s2), because the network sends that value back in the postback.
  • Payout (optional) — used as the conversion amount when the network’s postback does not send one.

Put the macro in the offer URL; the tracker fills it in whenever it sends a visitor to the offer, both straight from the tracking link and from a landing page’s LP click link:

https://network.example/click?offer=123&aff_sub={click_id}

4Add landing pages

Skip this step if you link directly to the offer. Otherwise open Landing Pages, click Add and enter the page’s URL with the click ID macro, so the page receives it:

https://your-lander.example/?cid={click_id}

Other macros you can add to the URL:

MacroValue
{click_id}Unique ID of this click
{click_url}The complete LP click link of this click (see below)
{campaign_id}Campaign ID
{traffic_source}Traffic source ID
{land_id}ID of the landing page chosen by the rotation
{country}, {region}, {city}Visitor location from the IP address
{device_name}, {os_name}, {browser_name}Device type, operating system, browser
{token1}…{token8}, {external_id}Values received from the traffic source
{time}Unix timestamp of the click

Link the call-to-action to the LP click link

The landing page sends visitors on to the offer through the tracker’s LP click link. It records the LP click (for the LP clicks and LP CTR columns) and redirects to the campaign’s offer with the click ID filled in:

https://tracker.cybkit.com/click?cid=CLICK_ID

This snippet builds that link from the cid in the page URL for every link marked with data-cybkit-cta:

<a href="https://tracker.cybkit.com/click" data-cybkit-cta>Get the offer</a>

<script>
  (function () {
    var cid = new URLSearchParams(location.search).get('cid');
    if (!cid) return;
    document.querySelectorAll('a[data-cybkit-cta]').forEach(function (a) {
      a.href = 'https://tracker.cybkit.com/click?cid=' + encodeURIComponent(cid);
    });
  })();
</script>

Alternatively, add {click_url} to the landing page URL (for example ?go={click_url}) and use that value as the link. If a call-to-action links to /click without a click ID, the tracker falls back to a 30-minute cookie set at the redirect.

5Create a campaign

Open Campaigns, click Add and choose:

  • Campaign Name, Traffic Source and Offer.
  • Landing Pages with Weights — add up to 20 landing pages and give each a weight from 1 to 100. A page with weight 2 gets about twice as many visitors as a page with weight 1. Leave it empty to send visitors straight to the offer.
  • Tags (optional) — group campaigns, for example by geo or vertical.

You can change landing pages, weights and the offer at any time; the tracking link stays the same.

7Set up the conversion postback

The postback is how your affiliate network tells the tracker that a click converted. Enter this URL in the network’s postback (S2S, server-to-server) settings and replace the values in braces with the network’s macros — for click_id, the macro of the sub-ID parameter you put the click ID in:

https://tracker.cybkit.com/postback.php?click_id={click_id}&amount={payout}&status={status}

For example, if you passed the click ID as aff_sub and the network’s macros are {aff_sub}, {payout} and {status}, the URL is …/postback.php?click_id={aff_sub}&amount={payout}&status={status}. The postback is a plain GET request.

Parameters

ParameterRequiredDescription
click_idYesThe tracker’s click ID. clickid and cid are accepted too.
amountNoPayout as a number, 12.50 or 12,50. payout is accepted too. Without it, the first conversion uses the offer’s payout.
statusNoapproved, pending or rejected (see below). Default: approved.
transaction_idNoThe network’s ID of the conversion or sale; txid is accepted too. Prevents a retried postback from being counted as a new sale.

Statuses

Networks use different words for the same status. These values are understood (case does not matter); any other value counts as approved.

StatusAccepted values
approvedapproved approve confirmed confirm accepted success paid sale lead
pendingpending hold on_hold onhold waiting processing new
rejectedrejected reject declined decline denied cancelled canceled cancel refund refunded chargeback reversed fraud trash invalid

Repeat postbacks and sales

  • The first postback for a click creates the conversion.
  • A later postback with an amount adds a sale; the conversion’s revenue becomes the sum of all sales. Ideal for deposits, rebills and upsells.
  • A later postback with a transaction_id that was already recorded for the click only updates the status.
  • A later postback without an amount updates the status, e.g. from pending to approved.
  • A rejected postback is always a status change, even with an amount — use it for refunds and chargebacks.

Responses

The tracker answers with JSON, for example {"status":"success","message":"Conversion tracked successfully",…}, and these HTTP codes:

CodeMeaning
200Conversion, sale or status update recorded (or an identical retry ignored)
400click_id is missing or invalid, or the amount is invalid
404No click with this click ID — check that the network sends back the value you passed
500Temporary server error — the network may retry

Conversions and sales appear in Conversions, Sales and in every report.

8Track events on your landing pages

Events measure steps before the conversion, such as a click on the lander’s call-to-action. Create an event type in Events with a display name and a parameter name (lowercase letters, digits and underscores, e.g. outbound_click). Each event type becomes a column in Reports.

Then fire it from the page that received the click ID. As an image pixel:

<img src="https://tracker.cybkit.com/event.php?click_id=CLICK_ID&event=outbound_click&pixel=1" width="1" height="1" alt="">

Or with JavaScript, for example when the visitor clicks an offer link (works even while the page is unloading):

<script>
  (function () {
    var clickId = new URLSearchParams(location.search).get('cid');
    if (!clickId) return;
    document.querySelectorAll('a[data-cybkit-cta]').forEach(function (a) {
      a.addEventListener('click', function () {
        var data = new FormData();
        data.append('click_id', clickId);
        data.append('event', 'outbound_click');
        data.append('label', a.textContent.trim());   // optional
        navigator.sendBeacon('https://tracker.cybkit.com/event.php', data);
      });
    });
  })();
</script>

Parameters: click_id and event are required; label (or sub) adds a label you can break reports down by; metadata takes up to 4 KB of JSON; pixel=1 returns a transparent GIF instead of JSON. Both GET and POST work, and cross-origin requests are allowed.

9Optional: add the fingerprint script

Server-side fraud checks run on every click automatically. For deeper bot detection, add this script just before </body> on your landing pages. It reads the click ID from the page URL (click_id, clickid or cid) and sends a few browser characteristics to the tracker after 3 seconds or when the visitor leaves:

<script src="https://tracker.cybkit.com/assets/js/fingerprint.js"></script>

Results appear as part of each click’s fraud score. Fraud Protection shows fraud by reason and by traffic source, and lets you blacklist IP addresses and CIDR ranges.

10Read your reports

Open Reports, pick a period and a first breakdown (for example Campaigns), then a second one (for example Countries) to expand each row. A few habits that pay off:

  • Break a campaign down by Token 1 (zone) and sort by profit to find zones to blacklist on your source.
  • Use metric filters such as clicks over 500 and ROI below 0 to see only what needs attention.
  • Save the setup as a preset so tomorrow’s check is one click.
  • Turn on the bot and fraud columns to see which sources send junk.
  • Export to CSV when you need the data elsewhere.

Troubleshooting

Clicks are not showing up

  • Test with a normal browser, not curl or an online link checker — bot traffic is redirected without being recorded.
  • Check that the link has the right c= campaign ID and that the campaign has an offer or landing page with a valid URL.
  • If your plan’s monthly limit is reached, links show a “link paused” page and clicks are not recorded until the next month or an upgrade.

The postback answers 404 “Click ID not found”

  • The network sent back a value that is not a click ID. Check that your landing page or offer URL passes {click_id} to the same sub-ID parameter whose macro you used in the postback.
  • Test the postback URL yourself: copy a click ID from Click List, put it into the URL and open it in a browser. A 200 answer means the URL is right and the network is sending something else.

Conversions are not reported to my traffic source

  • The source needs its own click ID: map it as External ID and use {external_id} in the source’s postback URL.
  • Check in Click List that clicks from this source have an external ID — if not, the source’s macro in the tracking link is wrong.
  • Rejected conversions and repeated postbacks are not forwarded, by design.

Still stuck? Write to [email protected] with the campaign name and an example click ID.