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
- A visitor opens a campaign link on your domain or on the server IP.
- The router checks the campaign's flows top to bottom and picks the first that matches.
- The flow sends the visitor to an offer, a landing page or an action.
- The affiliate network reports the conversion to your postback URL with the click ID.
- Reports join clicks, conversions, costs and revenue.
What runs on the server
| Service | Role |
| Router | Answers campaign links, picks flows, records clicks |
| Control API | The tracker interface and its API, postbacks |
| Worker | Writes events, delivers outbound postbacks and alerts |
| PostgreSQL · ClickHouse · Redis | Settings · clicks and reports · caps and uniqueness |
| Caddy | HTTPS for the server IP and your domains |
Installation
One command on a fresh server. The license is entered later in the browser.
Requirements
- Ubuntu 24.04 LTS VPS with a static public IPv4.
- 4 vCPU, 8 GB RAM, 100–150 GB SSD.
- Ports 80 and 443 free.
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
| Section | What it is for |
| Dashboard | KPIs, hourly or daily chart, top campaigns, landing pages, offers, sources, recent clicks |
| Campaigns | Campaign links and their flows |
| Landing Pages · Offers | Where flows send visitors |
| Affiliate Networks | Postback URLs for incoming conversions |
| Traffic Sources | Source parameters and S2S postbacks back to the source |
| Reports | Report builder, Clicks log, Conversions log, Exported reports, Black and White Lists |
| Domains · Users | Tracking domains · team and access |
| Maintenance | Health Center, Backups, Updates, Archive, Simulate traffic |
| Integrations | Outbound 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
| Field | Meaning |
| Domain · Alias | The link is https://<domain-or-ip>/<alias> |
| Group · Source | Grouping; traffic source whose parameters the link uses |
| Flow rotation | Position-based (top to bottom, first match wins) or Weight-based |
| Cost model | CPC, CPM or From parameter (cost), in USD |
| Traffic loss | % of clicks the source loses before the tracker; used in costs |
| Uniqueness | A visitor is unique for 24 hours |
| Redis outage | Fail open (keep routing) or Fail closed (Default flow) |
Tabs
- Tracking — campaign URL and tracking code (see Tracking methods).
- Parameters — keyword, cost, currency, external ID, Sub ID 1–30.
- S2S postbacks · Notes — postbacks for this campaign and free notes.
Actions
The "…" menu: Clicks log, Conversions log, Simulate traffic. Bulk: Archive, Clone (new alias), Enable, Disable, Move to group.
Flows
Types
| Type | Behaviour |
| Forced | Checked before every regular flow; the first match wins |
| Regular | Checked in order (or by weight) |
| Default | Takes 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
- Landing pages & offers with weights. Offer selection: Before click or After click (the
/lp link on the landing).
- Direct URL: HTTP 302 / 301 / 307, Meta refresh, JavaScript, Double meta, No referrer, Remote (curl).
- Action: 404, 403, 503, Do nothing, Show text, Show HTML, Send to campaign.
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.
| Group | Filters |
| Geo | Country, Region/state, City, IP, IPv6, ISP, ASN, Mobile operator, Proxy detected |
| Device | Device type, Device model, OS, OS version, Browser, Browser version, User agent, Language, Connection type, Bot, Uniqueness |
| Parameters | Parameter, Referrer, Empty referrer, Sites, Keyword, Search engine, Ad campaign ID, Creative ID, X-Requested-With, Sub ID 1–30 |
| Time | Date 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.
| Group | Macros |
| 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
| Mode | What happens |
| Local | A ZIP with index.html at the root, scanned on upload, served from your server |
| Redirect | HTTP 302, Meta, JS, Double meta, Without Referer, CURL, FormSubmit, Open in iframe, REMOTE |
| Preload | The server fetches the page and shows it |
| Action | 404, 403, 503, Empty page; offers also Send to campaign, Show HTML, Show text, Do nothing |
Offer settings
- Payout: CPA or CPC, fixed USD or from the
payout parameter; upsells on/off.
- Affiliate network, group, countries.
- Conversion cap per day or hour (with a time zone) and an alternative offer when it is full.
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
| Field | Default |
| Click ID parameter | subid |
| Default goal · Default status | sale · Sale |
| Payout parameter · format | payout · USD decimal (or Micro USD) |
| Success response | OK |
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
- Up to 5 grouping levels: Campaign, Flow, Landing page, Offer, Affiliate Network, Source, Day, Hour, Device type, Country, Sub ID 1–30. Rows expand into the next level.
- Presets: Source, Flow, GEO, Device, Sub ID, Calendar.
- Filters by field (equals, not equal, in list, not in list), by metric (=, ≠, <, >), status and goal.
- Raw / Clean, period, columns, profitability marker, saved reports.
- Export: CSV, HTML or to Exported reports (kept on the server).
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.
| Decision | Effect |
| Allow | Never counted as fraud |
| Mark | Marked in the logs, still counted in Clean |
| Exclude from Clean | Counted in Raw only |
Rules apply on the next campaign save. Events are never deleted.
Domains
Add a domain
- Point the domain's A (or AAAA) record to the server IP. Cloudflare Proxied works with SSL mode Full (strict).
- Add it in Domains (several at once, comma-separated).
- The tracker checks DNS and issues the certificate on its own.
Automatic checks
| Check | After |
| DNS | 1m, 3m, 10m, 30m, 1h, 2h, 4h, 8h, 16h, 24h |
| Certificate | 30s, 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
| Role | By default |
| Owner · Admin | Everything |
| Team Lead | Campaigns, reports with export and finance, fraud lists, offers, landings, networks, sources, integrations, logs |
| Media Buyer | Same without export and finance; sees own campaigns |
| Viewer | View only |
Access tab
- Per section: Full access or Read only.
- Records: Selected (only the picked records) or Created and selected.
- Users, Health, Alerts, Backups and Updates stay with Owner and Admin.
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
- Local: daily at 02:00 UTC, encrypted (AES-256-GCM), kept 7 days.
- Off-site: AWS S3, Cloudflare R2, DigitalOcean Spaces or any S3-compatible storage; kept 30 days.
- Verify integrity and Restore test (in an isolated runner). Production restore is not done from the browser.
Updates
- Prepare backup.
- Install the signed release.
- 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.
- Geo and IPs: country, region, city or IP rows with weights; IPs are generated from the GeoIP database.
- Devices: presets (iPhone, Android, desktop, in-app browsers, bots) or your own user agent.
- Source: referrers, hosts, languages. Parameters with
{random:N}, {seq}, {uuid}.
- Time: now, a moment or spread over a period; share of repeat visitors.
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.