Introduction

Kentavr is a traffic tracker you run on your own server. It routes clicks through campaign flows, sends visitors to offers and landing pages, receives conversions and shows what every dollar earned and cost.

How it works

  1. A visitor opens a campaign link on your domain or on the server IP.
  2. The router checks the campaign's flows top to bottom and picks the first that matches.
  3. The flow sends the visitor to an offer, a landing page or an action.
  4. The affiliate network reports the conversion to your postback URL with the click ID.
  5. Reports join clicks, conversions, costs and revenue.

What runs on the server

ServiceRole
RouterAnswers campaign links, picks flows, records clicks
Control APIThe tracker interface and its API, postbacks
WorkerWrites events, delivers outbound postbacks and alerts
PostgreSQL · ClickHouse · RedisSettings · clicks and reports · caps and uniqueness
CaddyHTTPS for the server IP and your domains

Installation

One command on a fresh server. The license is entered later in the browser.

Requirements

Install

Run as root:

curl -fsS --proto '=https' --tlsv1.2 --max-redirs 0 https://downloads.kentavr.app/stable/kctl.sh | bash -s -- install

The script installs the dependencies and downloads the encrypted product. When it finishes it prints https://<server-ip>/admin.

Already installed? Do not run the command again — continue at https://<server-ip>/admin.
The license code is entered later in the browser, so nothing secret goes into the terminal.

First setup

1. License

Open https://<server-ip>/admin and paste the license code from your Kentavr account (Copy license code). The code stays hidden on the page.

2. First Owner

Create the Owner: a username and a password of at least 12 characters. This account administers the tracker.

3. Sign in

Sign in at https://<server-ip>. Keep using the IP until you add a login domain (Domains → Admin dashboard: Allow access).

Interface

SectionWhat it is for
DashboardKPIs, hourly or daily chart, top campaigns, landing pages, offers, sources, recent clicks
CampaignsCampaign links and their flows
Landing Pages · OffersWhere flows send visitors
Affiliate NetworksPostback URLs for incoming conversions
Traffic SourcesSource parameters and S2S postbacks back to the source
ReportsReport builder, Clicks log, Conversions log, Exported reports, Black and White Lists
Domains · UsersTracking domains · team and access
MaintenanceHealth Center, Backups, Updates, Archive, Simulate traffic
IntegrationsOutbound postbacks to other systems

Every list has search, filters, column settings, paging and bulk actions on ticked rows.

Campaigns

A campaign is one link. Its flows decide where each click goes.

Settings

FieldMeaning
Domain · AliasThe link is https://<domain-or-ip>/<alias>
Group · SourceGrouping; traffic source whose parameters the link uses
Flow rotationPosition-based (top to bottom, first match wins) or Weight-based
Cost modelCPC, CPM or From parameter (cost), in USD
Traffic loss% of clicks the source loses before the tracker; used in costs
UniquenessA visitor is unique for 24 hours
Redis outageFail open (keep routing) or Fail closed (Default flow)

Tabs

Actions

The "…" menu: Clicks log, Conversions log, Simulate traffic. Bulk: Archive, Clone (new alias), Enable, Disable, Move to group.

Flows

Types

TypeBehaviour
ForcedChecked before every regular flow; the first match wins
RegularChecked in order (or by weight)
DefaultTakes everything no other flow matched; filters do not apply

Main

Name, type, weight (Weight-based rotation only), Collect clicks (No = route but keep no click row), Active / Disabled.

Schema — where the click goes

Limits

Limit clicks per hour, for 24 hours or all the time; limit conversions per hour or 24 hours. A full flow passes the click on.

Monitoring

Scan a URL, landing page or offer every N minutes. If it is down or (does not) contain text: disable the flow, grab a new URL, replace, or call a webhook.

The header switch shows or hides flow details. Bot Protection is added from Create ▾.

Filters

Filters decide which clicks a flow takes. Combine them with AND / OR, up to 3 levels and 50 conditions.

GroupFilters
GeoCountry, Region/state, City, IP, IPv6, ISP, ASN, Mobile operator, Proxy detected
DeviceDevice type, Device model, OS, OS version, Browser, Browser version, User agent, Language, Connection type, Bot, Uniqueness
ParametersParameter, Referrer, Empty referrer, Sites, Keyword, Search engine, Ad campaign ID, Creative ID, X-Requested-With, Sub ID 1–30
TimeDate between, Timetable

Match

is · contains · starts with · matches regex · ≥ · ≤ · is empty, each with "not". IP filters accept CIDR, versions compare as numbers.

Uniqueness

For this flow, in this campaign or for all traffic.

Proxy detected, Connection type and Mobile operator need their GeoIP databases. Without the database the filter never matches.

Tracking methods & macros

Tracking methods

Direct link (default), JS-generated link, Forced PHP redirect, Iframe, Static frameset, Dynamic frameset, QR Code, Pixel for Email, Banner block (iframe).

Macros

Use them in offer, landing and flow URLs. {name} inserts the URL-encoded value, {_name} the raw value.

GroupMacros
Click{click_id} {subid} {kentavr_click_id} {visitor_code} {date} {random}
Campaign{campaign_id} {stream_id} {offer_id} {landing_id} {ts_id} {current_domain}
Source{source} {keyword} {cost} {currency} {external_id} {ad_campaign_id} {sub_id_1}…{sub_id_30}
Visitor{ip} {country} {region} {city} {isp} {operator} {connection_type} {is_using_proxy} {is_bot} {language} {referrer} {search_engine}
Device{device_type} {device_model} {os} {os_version} {browser} {browser_version} {user_agent} {x_requested_with}

{date} is YYYY-MM-DD (UTC); {is_bot} and {is_using_proxy} are 1 or 0.

Offers & landing pages

Modes

ModeWhat happens
LocalA ZIP with index.html at the root, scanned on upload, served from your server
RedirectHTTP 302, Meta, JS, Double meta, Without Referer, CURL, FormSubmit, Open in iframe, REMOTE
PreloadThe server fetches the page and shows it
Action404, 403, 503, Empty page; offers also Send to campaign, Show HTML, Show text, Do nothing

Offer settings

Landing → offer

On a landing page, link to https://<tracker>/lp. The tracker sends the visitor to the offer chosen for their click.

Affiliate networks & postbacks

Each affiliate network gets its own postback URL with a secret token, shown once — copy it when you create the network.

Postback URL

GETPOSThttps://<tracker>/postbacks/<token>
https://<tracker>/postbacks/<token>?subid={clickid}&payout={payout}

POST accepts form or JSON bodies (string values, up to 64 KB).

Network settings

FieldDefault
Click ID parametersubid
Default goal · Default statussale · Sale
Payout parameter · formatpayout · USD decimal (or Micro USD)
Success responseOK

Statuses

lead · sale · reject · hold · trash. A goal is 1–63 characters: a lowercase letter, then a–z, 0–9 or _.

The network always gets the success response — a rejected postback (unknown click, bad payout, duplicate event) is only recorded. Duplicates are caught by the network's event ID, otherwise within 24 hours.

Traffic sources

Templates

Facebook Ads, Google Ads, TikTok Ads, ActiveRevenue, Ad-maven, Adcash, 7searchppc, 500nred.

Parameters

Map the source's URL parameters onto Keyword, Cost, Currency, External ID, Campaign ID, Ad Campaign ID, Site and Sub ID 1–30.

S2S postback to the source

https://network.example/postback?click_id={external_id}&status={status}

Macros: {external_id} {click_id} {conversion_id} {goal} {status} {payout} {sub_id_1}…{sub_id_30}. The URL is stored encrypted. S2S deliveries shows every attempt, HTTP code and latency.

Traffic loss

0–99.99 % of clicks the source counts but never reach the tracker.

Dashboard & reports

Report builder

Metrics

Clicks, Unique clicks, Conversions, Cost, Revenue, Profit/Loss, ROI, Unique %, Bots, Bot %, Leads, Sales, Rejected, Approve %, CR, CR (sales), LP clicks, LP CTR, CPA, CPL, CPS, CPC, uCPC, EC, EPC, uEPC.

Raw and Clean

Raw counts every real click. Clean also leaves out clicks a Black and White List excludes. Test clicks (Simulate traffic) are never counted.

Clicks & conversions logs

Clicks log

Every click with its facts: time, IP, country flag, region, city, ISP, device, OS and browser logos, referrer, flow, landing page, offer, Sub IDs, state (Recorded, Test, Degraded). Pick a day or a range, a campaign, columns; export CSV.

Conversions log

Every conversion: click ID, conversion ID, goal, status, payout, network, source, mode (Recorded / Test). Paged on the server.

Black & white lists

Rules per campaign by IP / CIDR and other matchers.

DecisionEffect
AllowNever counted as fraud
MarkMarked in the logs, still counted in Clean
Exclude from CleanCounted in Raw only

Rules apply on the next campaign save. Events are never deleted.

Domains

Add a domain

  1. Point the domain's A (or AAAA) record to the server IP. Cloudflare Proxied works with SSL mode Full (strict).
  2. Add it in Domains (several at once, comma-separated).
  3. The tracker checks DNS and issues the certificate on its own.

Automatic checks

CheckAfter
DNS1m, 3m, 10m, 30m, 1h, 2h, 4h, 8h, 16h, 24h
Certificate30s, 1m, 2m, 5m, 15m, 1h, 3h, 8h, 24h after DNS

After a day the checks stop (DNS error / TLS error). Check runs them again. Active domains are not checked.

Settings

Group · Crawlers (allow / disallow indexing) · Admin dashboard (allow / deny login on this domain) · HTTPS-only · Index page (a campaign for /).

Users & access

Roles

RoleBy default
Owner · AdminEverything
Team LeadCampaigns, reports with export and finance, fraud lists, offers, landings, networks, sources, integrations, logs
Media BuyerSame without export and finance; sees own campaigns
ViewerView only

Access tab

Groups

A user can be in several groups. Team leads and viewers see their groups' campaigns.

Without finance.view the server removes cost, revenue, profit and ROI from responses and exports.

Health Center

State of the Traffic Router, Delivery Worker, ClickHouse and Redis, with incidents you can acknowledge.

Backups

Updates

  1. Prepare backup.
  2. Install the signed release.
  3. The server runs: Manifest → Compatibility → Backup → Images → Migrations → Readiness → Switch.

The switch is health-gated with automatic rollback. The browser only requests the install; everything runs on the server.

Alerts & integrations

Alerts

E-mail and Telegram. Rules: critical health incident, disk usage 70 / 85 / 95 %, SSL expiry in 14 days, backup failure, license expiry, postback failure rate > 10 % in 15 min. Per rule: on/off, cooldown, channels, Send test.

Integrations

Outbound postbacks to any URL for all or one campaign and chosen statuses (default lead, sale). Timeout 100–10,000 ms, up to 6 attempts. Macros: {click_id} {conversion_id} {event_id} {goal} {status} {payout_micro_usd}.

Archive & bulk actions

Tick rows in any list: Archive, Clone, Move to group, and per list Enable / Disable (campaigns) or Check (domains).

Maintenance → Archive keeps archived campaigns, offers, landing pages, sources, networks, domains and integrations. Restore brings them back; a restored campaign comes back paused.

Simulate traffic

Send generated visitors through the real router to check a campaign.

Up to 5,000 requests. Clicks are recorded as Test and never counted in reports; caps and uniqueness of a run are its own. Results show flows, landings, offers, countries, devices and, per request, which flow matched and which filter stopped the rest.

API

The tracker interface uses the same API. Base path: https://<tracker>/api/v1.

Authorization

POST/api/v1/auth/login
{ "username": "owner", "password": "…" }

Returns access_token (15 minutes). Send it as Authorization: Bearer <access_token>. Renew with POST /api/v1/auth/refresh (the refresh cookie lasts 30 days). With two-factor sign-in, finish with POST /api/v1/auth/mfa/complete.

Useful endpoints

POST/api/v1/reports/queryReport rows
POST/api/v1/conversions/eventsRecord a conversion
POST/api/v1/cost-eventsAdd costs
POST/api/v1/cost-imports/csvImport costs from CSV
API keys are not available yet; the API uses user sign-in. Ask for API access via Telegram.