Documentation

Trakivo click tracker

Click domain: trakivo.co. This is the production tracker, not a postback endpoint.

Click URL

A tracking link has this shape:

https://trakivo.co/t/CODE

CODE is the tracking link created in the desk. With no Google parameters, the response is HTTPS and HTTP 302. The Location is the landing page saved on the offer. The tracker does not show a page of its own, and it does not send reviewers to a different address from real visitors.

Next-hop parameter

Ordinary tracking links have no url, redirect_url, or destination parameter. The landing page is the Offer URL saved on the offer. The tracker does not redirect to an address taken from the query string.

Google Ads uses one named parameter, redirection_url. force_transparent is listed first. The tracking template is:

https://trakivo.co/t/CODE?force_transparent=true&campaign_id=OFFER&gclid={gclid}&creative={creative}&device={device}&redirection_url={lpurl}

In that mode the 302 Location is redirection_url after one decode. Trakivo may append only its own parameters, click_id and campaign_id. The offer URL is not used. Invalid targets, private addresses, and uncertified nested trackers are rejected with HTTP 400. If strict matching is on for the offer, the landing host must match the offer Final URL.

Smart links (/s/CODE) accept the same Google parameters and behave the same way: with redirection_url present, the Location is that URL, not one of the smart link's offers. Both /t/ and /s/ are the paths declared for Google Ads.

Parameters

ParameterUse
sub1 to sub10Publisher values. Stored on the click. sub1 is also used as source and p1 when those are empty.
source or srcTraffic source. Stored on the click.
p1Publisher reference. Stored on the click.
gclidGoogle click id. Stored on the click. Used in the Google Ads template as gclid={gclid}.
creativeGoogle creative id. Stored. Template value {creative}.
deviceGoogle device. Stored. Template value {device}.
campaignidGoogle campaign id. Stored separately from our campaign_id. Template value {campaignid}.
campaign_idOur offer id. Added by Trakivo on the landing URL in Google mode. Not a Google ValueTrack field.
click_idThe id Trakivo creates for this click. Added to the landing URL. The advertiser sends it back on the postback.
redirection_urlGoogle next hop only. The value is {lpurl}. Ignored for ordinary affiliate links.
force_transparentSet to true in the Google Ads template. It must appear before redirection_url.

{keyword}, {adgroupid}, {matchtype}, {network}, and {placement} have no columns of their own. Put them in sub1 to sub10 in the tracking template if you need them stored. The offer URL can also contain {click_id}, {affiliate_id}, {offer_id}, {sub1} to {sub10}, and {source}.

Domains and HTTPS

The only click domain for this application is trakivo.co, including www.trakivo.co. Clicks (/t/), smart links (/s/), and postbacks (/pb/) use that same host. No other click domain is configured. HTTPS is required. Responses send Strict-Transport-Security. Click redirects send Cache-Control: no-store and do not set a cookie.

Postback

Postbacks are not click URLs. Each advertiser has a token. The advertiser calls:

https://trakivo.co/pb/TOKEN?click_id={click_id}&txid={txid}&goal={goal}&payout={payout}&revenue={revenue}&status={status}

click_id is the id we added on the landing URL. txid is the advertiser order id. GET or POST both work. JSON and form posts accept the same names. Aliases: clickid, cid, transaction_id, trans_id.

API

Machine-readable API description: /api/openapi. The API title is Trakivo API.