ChaptersCampaigns and streams
Getting started
Traffic
Team and integrations
Server and reference
DocumentationTraffic
Campaigns and streams
On this page
- Campaign
- Campaign domain and link
- Wizard, templates and “Launch”
- Editor tabs (Campaigns → card)
- End-to-end funnel
- The campaign “…” menu
- Campaign list
- Streams
- Filters
- Schemes
- Stream actions (the “…” menu in the card)
- Stream monitoring
- Split test
- Click collection and traffic log
- Decloak protection
- Repeat click from a landing
- Simulation
- Test traffic
- Daily link chain check
- Macros
A campaign is the entry point for traffic; streams decide where to send the visitor. Here: the campaign domain and link, editor tabs, streams, filters, schemes and redirects, monitoring, simulation and the full macro reference.
Campaign
A campaign is the entry point for traffic: the link https://<domain>/<identifier>. The identifier (alias)
can be changed; on import from Keitaro it is kept, so old links keep working.
If a domain has an index campaign, it handles requests to the domain root.
Campaign domain and link
A campaign is opened by its identifier on any tracker domain (as in Keitaro): the domain in the link can be replaced with any domain added in “Domains”, and the traffic still reaches the same campaign. The domain in the campaign is for the ready-made link: change it to copy the full link with the new domain — old links keep working while the previous domain is in the tracker (without it there is no certificate). That is why an identifier is unique across the whole tracker: one already taken by another campaign is not saved. If a request arrives at a domain the campaign is bound to, or that domain has its own campaign with this identifier, that campaign opens.
- A specific domain — the link in the admin panel is built on it.
- “Any domain” (the field is empty) — the link in the admin panel is on the tracker’s main domain.
- Admin domains and domains marked “Not allowed in campaigns” (Sources, networks, domains) do not open campaigns: such domains are shown in the selection list, but cannot be chosen.
- Domain deleted — the campaign works as “Any domain”: the link in the admin panel is shown on a working domain, and the editor warns “The campaign’s domain was deleted”. Pick a domain and save; on save and on copy the deleted binding is removed automatically. Restore the domain and the binding works again.
The domain and the identifier are changed on the “Parameters & link” tab, next to the ready-made links: change the domain and copy the new link right away, without switching tabs. The link can also be copied with the icon in the campaign header and from the “Link” column of the list.
A campaign in the list can be opened in a new tab with the mouse wheel or Ctrl/Cmd+click on the row (as in Keitaro); offers, landings, sources and other list records open the same way.
Wizard, templates and “Launch”
- Wizard (a button in the “Campaigns” section) — “New campaign in a minute”: a template (source, streams, S2S postbacks, integrations and tags) and countries — one stream per country with the “Country” filter and an offer (if a country has only one offer, it is filled in automatically). A finished campaign can be saved as a template — for yourself or “Shared with the team”.
- Launch N/M — a checklist in the campaign editor: domain and SSL, the link opens (the chain is checked),
the postback arrived, the pixel on landings, the CAPI event, source labels are filled (no empty or
unsubstituted
{macros}). Each item has a state (“ready”, “error”, “waiting for data”, “not needed”) and a link to where to fix it; “Check” runs the check again. - Check link — a button in the campaign editor header: the tracker itself follows the link as a visitor from the chosen country on the chosen device (phone, desktop, tablet; “Auto” and an empty country mean the campaign’s most frequent ones) and shows where the visitor ended up: a landing or an offer, the address after redirects and the page title, and below — every step with its response and time. Handy before launch: if no stream is chosen for the “wrong” country, you see it right away. The saved campaign is checked; the click is a check click — it does not get into statistics, does not spend caps or uniqueness, no postback is sent. Transitions made by scripts on the page are not tracked.
Editor tabs (Campaigns → card)
| Tab | What is there |
|---|---|
| Routing | the stream map: intercepting → regular → default (below) |
| General | name, group, tags, source, rotation, binding, uniqueness, cost |
| Parameters & link | campaign domain and identifier, ready-made links (short, full, parameters only), mapping of source parameters to click fields |
| Integration | code for a direct link, JS, PHP (KClient), tracking script, iframe, script, frameset, pixel, banner and QR code (Integrations) |
| S2S postbacks | postbacks to the source on conversion (Conversions and postbacks) |
| Ad integrations | Facebook, TikTok, Google Ads connections: the toggle includes the campaign in the connection (conversion events and cost loading); keys are in “Integrations” |
| Auto rules | rules by metrics (Reports) |
| Traffic log | the “Log traffic” toggle and the latest clicks with routing steps (below) |
| Funnel | the campaign’s end-to-end funnel for the period: where clicks are lost and what dropped compared with the previous week (below) |
| Simulation | a click run without writing to statistics (below) |
Settings of the “General” tab:
- Stream rotation — “By position” (the first matching stream) or “By weight” (random, proportional to the weights).
- Uniqueness — the “IP”, “IP + User-Agent”, “Cookie” or “Parameter” method, period 1–8760 h. It is counted at three levels: stream, campaign and global — reports have all three metrics. “Browser uniqueness” (off by default) — a repeat click from the same browser is not unique in the campaign and stream, even if the mobile network changed the IP or the app’s in-app browser lost the cookie. The browser is recognized by the click headers (User-Agent, languages, Client Hints, WebView app). The IP is not part of the fingerprint, but the country, the carrier (by the geo database) and the /16 subnet (/40 for IPv6) are: an IP change within the carrier’s pool is recognized, identical phones in different networks are not merged. It works only for in-app browsers on Android (Facebook, Instagram, TikTok, etc.): their User-Agent contains the phone model, build, WebView and app versions. On iPhone (in apps too), regular Android browsers and desktops the headers are the same for thousands of people — for them uniqueness is by the campaign method only. Different people can be merged when one carrier subnet has many visitors with the same model and app versions within the uniqueness period: by estimate, about 1 % of clicks for every 50 campaign visitors in that subnet. Such clicks are the “Repeat devices” metric in reports (new by the campaign method, a repeat by browser) and the “Repeat device” flag in the click log. Global uniqueness does not take the browser into account.
- Visitor binding (only with “By weight” rotation) — “Streams”, “Streams + landings”, “Streams + landings + offers”: a repeat visit goes to the same place for the set period (1–8760 h).
- Cost — CPC, CPuC, CPM, CPA, CPS, RevShare; the value can also come in the link — as a
parameter mapped to the
costfield on the “Parameters & link” tab. A value from the link can also be set by the visitor, so it has a ceiling (“Link cost ceiling”, in the campaign currency; empty — 10 × the campaign cost, or 5 in the tracker currency when the campaign cost is zero): above it, the campaign cost is recorded, the click trace shows the reason, and the card shows the number of such clicks over 7 days. For CPA there is “Pay for statuses”: the cost is charged once, when the conversion first enters one of the selected statuses (empty — leads and sales, i.e. the “hold” and “confirmed” group types); trash or a rejection that arrives first creates no cost. - Group — pick one from the list or create a new group right from the field: type a name and choose “+”.
On a phone a campaign opens read-only, so that routing is not changed by accident; a button above the editor allows editing.
End-to-end funnel
The “Funnel” tab of the campaign card shows the path of the period’s clicks (the period is set in the top bar) on one screen: clicks → passed protection → landing shown → went to offer → form started → form submitted → lead → approved. Each step is a part of the previous one: a step shows the number, the rate from the previous step, how many were lost, a bar with the share of all clicks, and the step cost (spend per visitor who got there; not shown when cost is hidden). At the top is a sentence about the main point: “The biggest loss is at ‘Went to offer’: 42.9 % get there”; this step is marked with the “drop-off” badge.
- Comparison — “With a week earlier” (the same period 7 days earlier, the default) or “With the previous period”: the “A week earlier” and “Change” columns in pp. The change is colored only when it is significant (unlikely to be random, z ≥ 1.96); the most noticeable such step gets the “worse” badge. There is no comparison for “All time”.
- Passed protection — without bots and clicks stopped by decloak protection (decoy page, a check without continuation). Clicks sent to the white page by stream filters (geo, device) count as passed.
- Landing and offer — a click of a stream without a landing goes straight to the offer and passes both steps (the number of such clicks is shown under the step); in a campaign without landings the “landing” step is skipped.
- Forms — from Metrika and only for clicks where it is inserted; if Metrika is not on all clicks (less than 90 %), the lead is counted from the step before the form, and the coverage share is shown under the table. If Metrika is not inserted or saw no forms, the steps are skipped with a reason.
- Lead and approval — by click date: a lead is any order (hold, sale, rejected, trash); approval is sales among resolved leads, without hold (fresh leads do not cause an “approval drop-off”), and approval of all leads is shown as a caption.
- Drop-offs and worse steps are looked for only on steps with a base of at least 30 clicks. Steps hidden for the role (bots, leads, forms) show “hidden for your role”, and the rate is counted from the previous visible step; without access to clicks there is no funnel.
The campaign “…” menu
“Conversion log”, “Update costs”, “Clear statistics” (administrator), “Clone with streams”, “Clone with new landings”, “Export JSON”, “Insert from favorites…”, “Import streams (JSON)…”, “Archive”.
A campaign copy gets the streams with all filters, landings and offers, the S2S postbacks and inclusion in ad integrations; the name gets “(copy)”, the alias is new, and the source campaign does not change. “Clone with new landings” also copies the streams’ landings (local ones with their files): edits to the copy’s landings do not affect the original campaign.
Campaign list
Health is a letter A–F right after the group: rules, no AI, for active campaigns. Checks: the link chain, the domain (blocklists, Safe Browsing, DNS/SSL, certificate), source labels (whether the platform fills the macros), approval for 3 days against the previous 27, ROI with the hold forecast for 7 days against the previous 7, campaign alerts for the last 24 hours, the share of bots. A warning is −15 points, a failure −30, a broken link or domain −60: A — no issues, B — one warning, C — a failure or two warnings, D — a failure with a warning, two failures or a broken link or domain, F — worse. No clicks in 7 days or no data — “—”. A click on the letter opens a window with every check and a link to the place to fix; the first click on the column header puts the worst at the top. The grade updates once a minute; approval, ROI and bots hidden by the role are not graded.
Import JSON — a whole campaign with its streams; if the alias is taken, a new one is assigned, and a warning says so.
Bulk actions — select campaigns (or press x on a row), and a panel appears at the bottom:
turn on, turn off, change group, tags (tags), archive; the More menu has change source, clone,
update costs, clear statistics (administrator), export JSON (one file with all selected campaigns;
Import JSON accepts it too). Rows where the action failed stay selected. For domains the
More menu has check DNS and SSL and set the index campaign; change group and archive are the same.
Streams
The routing map shows the click path: entry → intercepting streams (checked
first, without rotation) → regular ones (by the campaign rotation) → the default stream (no filters,
catches everything else). The order is changed by dragging. “By position / By weight” rotation
is switched right above the regular streams; the weight (0–1000, with its share in % next to it) is edited in the stream
card on the map, in the “Weight” column of the table and in the stream window. Countries in filters are shown with flags
(green — “is”, red — “is not”). The stream’s landings and offers are listed one per
line: ID (#506, as in the landing and offer lists), name and rotation share; a disabled one is struck through.
In the streams table active offers are also listed with their IDs.
Stream changes accumulate in a draft and are saved with the “Save” button (Cmd/Ctrl+S); the counter on the button shows the number of changed objects. The tracker will not let you leave the page with unsaved edits without confirmation.
Filters
The logic of a stream is “All conditions (AND)” or “Any condition (OR)”, and each filter has the
“is / is not” mode. There are 43 filters: country, region, city, geo profile, ISP, mobile operator, connection
type, IP, IPv6, proxy, bot, data center, device (type, brand, model, phone price class),
OS and version, browser and version, language, User-Agent, referrer, empty referrer, X-Requested-With, search engine,
keyword, source, site, domain, sub_id_1…30, extra_param_1…10, any parameter, external ID,
creative ID and ad campaign ID, black/white list label, uniqueness, click limit (per hour / day / total),
fraud score, frequent clicks from IP, schedule, date range.
Phone price class — “Budget”, “Mid-range”, “Flagship”, “Unknown” (chosen from a list). The class
is computed from the brand, the model and its release year at the time of the click: a flagship becomes mid-range 4 years after release
and budget after 7; a mid-range model becomes budget after 4 years. “Unknown” means the model is not recognized: Safari
and TikTok on iPhone do not report the generation (Facebook and Instagram do), Chrome on Android increasingly hides
the model (K), tablets, watches, desktop. An unrecognized phone is never counted as budget: to cut
cheap phones in COD, set “is: Budget”, not “is not: Flagship”. The reason in the simulation is
the class and the model, for example budget (Samsung SM-A155F).
Value syntax (one per line):
| Entry | Means |
|---|---|
Android |
exact value, case-insensitive |
iPhone*, ?5 |
masks: * — any characters, ? — one character |
/^ru-/i |
regular expression |
@empty |
empty value |
10.0.0.0/8, 1.2.3.*, 1.2.3.100-150 |
for IP: subnet, mask, range (values can also be separated by commas) |
Schemes
- Landings & offers — a split of landings and offers by shares. The offer is chosen on the landing
click (the default) or right at entry (
{offer}on the landing already points to the chosen one). - Direct redirect — to a URL with macros.
- Action (7 kinds) — to another campaign (a single click, recorded in the target campaign with the subid and the cost by the source
campaign’s model: the source’s CPC is counted; in the source campaign’s report — via “Aggregate child campaigns into parent”); 404; text; HTML; do nothing; local file
(a white page from uploaded files: the path
slug/fileof a local landing, for examplewhite/index.html; without a file — the entry point; for an offer —offer-files/slug/file; PHP is not executed — put a PHP white page as a local landing); HTTP status — an empty response with the chosen code (2xx, 4xx, 5xx: 403, 404, 410, 451, 429, 204, 200…), for example for bots and moderators. The click is recorded.
Redirect type (15 of them): HTTP 302, 301, 303, 307, meta refresh, JS, blank referrer, double meta,
CURL (the content is served from the tracker), FormSubmit, iframe, REMOTE (the URL is taken from an external
server’s response), redirect for iframe, redirect for script, SubId (only assigns the subid). HTTP redirects
are served with Cache-Control: no-store: even a “permanent” 301 is not remembered by the browser, and every
visitor transition reaches the tracker.
Stream actions (the “…” menu in the card)
- Clone — a copy in this campaign (in the draft).
- Add to favorites… — a stream template, personal or shared with the team. To insert it, use the campaign menu “Insert from favorites…”.
- Clone to another campaign… / Move to campaign… — the stream goes to the end of the list of the chosen campaign. Edit rights for both campaigns are required.
- Export JSON — the stream in a portable format (landings and offers are given with names: on import into another tracker they are found by name; if something is missing, the import asks whether to continue without it).
Server actions are available for saved streams when the campaign has no unsaved edits.
Stream monitoring
Rules per stream (up to 10): what to check (the stream URL, landings, offers or your own URL), the condition (“Is down” — an error, HTTP ≥ 400 or a 10 s timeout; “Page contains / does not contain text”; “Always”), the interval (1–1440 min), a proxy and the action — disable the stream or an element, switch the rotator, replace the domain, a webhook, notify (in the app and, depending on settings, in Telegram/Slack — without changing routing) or only write to the log. The indicator in the card: green — all is well, yellow — triggered within the last 24 hours, red — the last check triggered. The log is in Maintenance → Logs → Monitoring; the stream card shows the availability of each target over the latest checks.
The action runs only after three matches in a row for a target (the log shows “pending 1/3”, “pending 2/3”; a successful check resets the counter): a single timeout, a 403/429 response from an affiliate network’s anti-bot or a short outage does not turn off the stream. If more than half of the targets (of four or more) did not answer in one pass, it is treated as a network or DNS failure of the tracker itself: actions are not run (“skipped: mass failure”), and administrators get an alert.
Split test
The “Split test” tab of a stream with the “Landings & offers” scheme and two or more variants: for each landing and offer over 7/14/30/90 days — share, clicks, CR, approval of resolved (confirmed ÷ (confirmed + rejected), without hold and trash — in reports “Approve %” is counted from all orders), EPC and probability of being best (next to CR and approval — by them; the main one — by EPC; this is a hint for the period). EPC uses the approval forecast: revenue on hold × the variant’s approval.
Recommendation and auto weights follow a stopping rule. The probability of being best, looked at every hour, “breaks through” 95 % by luck: with equal variants the old rule declared a winner in two splits out of three within a month. Now the tracker compares pairs of variants with a sequential test once an hour. The boundary narrows as the sample grows and holds for any number of checks: a false winner with equal variants appears no more than 5 % of the time (with three or more variants the threshold for each pair is stricter). The test runs from its start, not over the selected period: the first check covers 14 days up to yesterday, then the data accumulates (the last 24 hours are not counted — the leads are not mature yet; the window holds no more than the last 30 days). A pair is compared when both variants have at least 100 clicks and 10 conversions.
- Above the table of a part is the rule block. “No winner yet”: the leader, how far it is ahead per click, the boundary now and roughly how many more clicks are needed at the same difference. “Winner — …”: the decision is made and will not be reversed by fluctuations — only the opposite boundary can change it. Below — when the test started and how many clicks it has.
- Recommendations: “Disable” — the variant is proven worse than another; “Winner” — the only unbeaten one; “Keep testing” — there is a sample but no decision; “Not enough data” — there is no sample.
- Auto weights (a toggle on the tab): once an hour the loser gets 10 %, variants with a sample get equal shares, and a newcomer without a sample keeps its share. A leader without a proven difference gets no extra traffic. A share changes by no more than 10 pp at a time; every change is in the audit log (context “system”).
- A new variant in a part restarts the test: comparison is only on simultaneous traffic, and decisions between the previous variants are kept. The “Restart test” button resets the decisions too. It is needed, for example, after editing the winning landing. The permission required is campaign editing; the action is logged.
- The share skew check (below) pauses the rule: there are no new decisions, and auto weights stay as they are.
Share skew: once an hour the tracker compares the variants’ unique clicks with the weights
over 7 days (chi-square, p < 0.00001 — the check is hourly, so the threshold is strict; from 200 clicks). If the shares diverge noticeably, a “Share skew” badge appears in the
table header, with an explanation (actual vs weights for each variant) and a notification in the bell; comparing variants in
this case is unreliable — check whether one variant is losing clicks (redirect, filter, the landing does not load).
Auto weights of this part do not change until the skew is gone; a share change by auto weights does not reset the window, a manual one
restarts it. Offers with caps and campaigns with visitor binding to a landing (offer) are not checked (the screen says why);
“Send to campaign” action variants are not part of the check, and offers chosen by the visitor on the landing
via an {offer:ID} link are not counted — their shares are set by the visitor, not by the weight. If the stream is off or only
one variant is left in the part, the window starts again once it is back.
For a stream run by an external program via the API (a CRM changes shares and turns offers on), there is
the “Managed externally” toggle in the stream header: auto weights and monitoring actions (turn off the stream or
variant, rotator, domain replacement) do not touch it, and the rule log shows “skipped: flow is managed externally”.
If revenue is hidden by the user’s permissions, EPC is not shown, and the probability and recommendation are computed by
CR × approval.
Click collection and traffic log
The “Collect clicks” toggle in a stream is for stub streams that should not get into statistics. The traffic log records a step-by-step click trace: the campaign found, geo, uniqueness, every filter of every stream, the landing/offer choice, the response. By default it is kept for all clicks (Settings → Traffic: general log, 100 %); “Log traffic” in a campaign turns it on for that campaign when the general one is off. A record is about 300 bytes and is kept for 7 days: a million clicks a day take ≈ 2 GB of space. To view it — the click card, the campaign’s “Traffic log” tab or Maintenance → Logs → Traffic.
Decloak protection
Spy services and other people’s CRMs “decloak” a campaign with an automated browser: a Facebook UA, a residential IP, all filters passed — and they get the target page. Stream → “Decloak protection” checks that the page was opened by a person from an ad, not by a program:
- Off — as before.
- Count (no blocking) — the page is served as usual, and a script on it collects browser signals; the result and the signals are written to the click. Start with this mode: the report shows how many live clicks and conversions the protection would affect.
- Block — first an instant blank check page with no content: the script collects the signals and moves on. A person gets to the target page (the same subid, no second click), an automated browser — to the “Page for decloakers”: the chosen landing or “Any White” (an active landing with White in its name). The decoy has no cookies, no token and no transition to the offer.
Signals are hard (they block on their own: webdriver, software graphics of headless Chrome, Android with a desktop platform, a phone without touch, the Facebook browser on Android without X-Requested-With, no ad ID, a forged check continuation, already banned IPs and browsers) and soft (desktop, proxy/VPN, data center, no fbclid, a time zone that is not the click country’s, etc. — they block only when three occur together). A caught automated browser is banned by IP+UA for 24 hours. A repeat visit of the same visitor is only recorded (some leads come back). Safety valve: if a hard signal fires for more than 20 % of checked clicks within an hour (from 200 clicks), it stops blocking — so a Facebook WebView update will not cut off traffic.
The result is visible in the click log and reports (the “Decloak protection” column and grouping: pass, suspect, decoy, pending),
the signals — in the click card; the summary is in Reports → “Decloak protection”
(administrator only): for each protected stream — clicks and conversions by result (“Passed”, “Suspicious”, “Decloak —
White shown”, “Check not completed”) and by signal; the goal is to affect no more than 1 % of live conversions. Decloak
attempts trigger the “Decloak attempts” notification (Profile → Notifications). Protect the stream with the target (BLACK) page;
check new signals in “Count” mode first. Via the Admin API — guard_mode (off|count|block) and
guard_decoy of a stream, GET /guard/stats?days=&campaign_id=.
Repeat click from a landing
A campaign page can return the visitor to the campaign — a “domainetka”, the “back” button, a second offer — and
pass in the link only some of the labels of the original visit (for example, without campaign_id and ad_id). The tracker recognizes
the original click — by parent_subid/_subid in the link, by a value that looks like a subid (the landing passes it
in its own field, for example sub_id_15={subid}), or by the _subid cookie — and takes from it the labels missing from
the link: sub_id, source, the platform’s campaign name, fbclid/gclid/ttclid and link parameters for macros.
The repeat click’s own labels do not change, and the cost is not inherited. Conditions: the same source or the same
campaign, the original click is no older than 72 hours, the new click has no different fbclid/gclid/ttclid (otherwise it is a new
visit from an ad). The original click is shown in the “Parent click subid” column of the click log; the traffic log has
the line “inherited from click …” with the list of fields.
Links broken while being assembled are parsed without losses: an extra “?” at the start of the ad’s “URL parameters”
(…/alias??utm_campaign=…, in the Instagram in-app browser — ?%3Futm_campaign), HTML escaping
& and “;” in a label value. In the ad account’s “URL parameters” the string is pasted without “?” — it is provided by
the “Parameters & link” tab.
Simulation
The “Simulation” tab: set the IP, User-Agent, referrer and parameters, and the tracker runs the click through the real logic without writing to statistics and shows the trace and the final response.
Test traffic
A simulation does not open the landing and the offer; a test click does: it is a real visit via the link that goes through the whole chain (stream, landing, LP click, offer, postback), but does not get into statistics, does not spend uniqueness, click limits or binding, and a postback for it creates no conversion, S2S postback or cap (the postback log shows “test”). It is turned on in “Settings → Traffic → Test traffic” (off by default):
- test key — add
?_aurum_test=<key>to the campaign link (the tracker issues the key on save; “New key” replaces it if the link with the key reached the wrong people); the key does not reach the landing or macros; - staff clicks — a click from a browser where the tracker’s admin panel is open is a test click too.
Test clicks, their transitions and postbacks are in “Click log” → “Test traffic” (the last 5000 records). The same place has the clicks of the daily link chain check: it works even without this setting.
Daily link chain check
The tracker itself follows the link of every active campaign with traffic in the last 3 days: click (the stream is chosen for the campaign’s most frequent country and device), landing, LP click, offer and test postback — whether it was accepted and reached processing. The check click is a test click: it does not get into statistics, does not spend caps, uniqueness or binding, and the postback creates no conversion.
- The result is in “Campaigns” → “Link check”: for each campaign the status, the step where it broke, the response and since when it has not worked; “Check” runs the check right away (the result comes in a minute).
- A failure raises the “Link chain check” alert in the bell and Telegram (repeated once a day until fixed); when it is fixed, a “works again” notification comes.
- A 403, 401 or 429 response from a third-party site (landing or offer) is a warning, not an error: the affiliate network may block the server address; open the link yourself. 404, 410, 5xx, a DNS or certificate error is an error.
- Frequency — “Settings → Alerts → Daily link chain check” (every 6–168 hours, once a day by default). It is on for everyone; it can be turned off only by confirming a warning, and the decision is written to the audit log.
- Once a day per campaign the tracker follows the offer link — the affiliate network’s statistics will show such a click.
White page (the “white page” step). For a campaign with a separate bot branch (cloaking: a stream with the “Bot” or “Data center” filter) the tracker makes a second click as the platform’s moderator — the Facebook robot with the “Bot” and “Data center” flags — and looks at the page the bot gets:
- a tracker error (404, 5xx) or “do nothing” is a warning: the moderator sees an error or an empty page;
- an empty page (less than 50 characters of visible text, no images or video) is an error and an alert, as with a chain failure. The tab title does not count as text. No text but there are scripts — a warning: the page may be drawn by a script, open it yourself;
- on the page of a stream without offers (a real white page) — tracker traces, a warning: an
?_lp=1or_tokentransition, an unsubstituted macro ({subid},{campaign_id}…), the words Keitaro or AurumClick, a link to a tracker domain or to the offer site. For a bot branch with offers (for example “other countries”) transitions into the funnel are normal — only the response and emptiness are checked; - if bots get the same stream as the buyer, the step is skipped: there is no separate branch.
The bot click is a test click too. The buyer check, on the contrary, runs without the bot, proxy and data center flags (the tracker server address is often on data center lists), so that the cloaking does not send it to the bot branch. To turn it off — “Settings → Alerts → Check the white page”. “Check the link before launch” does not look at the white page: there the visitor is from the chosen country.
Macros
Macros are substituted in offer, landing and S2S postback URLs and in HTML actions; the names are as in Keitaro. Syntax:
{name}— the value with URL encoding;{_name}— without encoding;{name:arg1,arg2}— with arguments (after the colon, comma-separated);- an unknown macro stays in the text as is; the tracker does not touch
{{…}}(ad network macros).
Click and route
| Macro | Value |
|---|---|
{subid} |
click ID (passed to the affiliate network, the postback arrives with it) |
{visitor_code} |
visitor code (cookie uniqueness) |
{campaign_id}, {campaign_name}, {campaign_alias} |
campaign |
{parent_campaign_id}, {parent_subid} |
the campaign and click the transition came from (the “to another campaign” action) |
{stream_id} = {flow_id} |
stream |
{landing_id}, {landing_name} |
landing |
{offer_id}, {offer_name} |
offer |
{offer} |
the link from the landing to the offer (not encoded); {offer:ID} — to a specific offer |
{offer_value:NAME} |
the value with this name from the offer’s “Values” |
{token} |
LP click token |
{pixel} |
the pixel parameter value from the link |
{ts_id}, {traffic_source_name} |
traffic source |
{affiliate_network_name} |
the offer’s affiliate network |
{cost} |
click cost |
{destination} |
the final transition URL |
{current_domain} |
the domain the click came to |
{path} |
the rest of the path after the campaign alias |
Visitor
| Macro | Value |
|---|---|
{ip}, {user_agent}, {referrer}, {language} |
request |
{country} |
country code; {country:ru} — the name in that language |
{country_name} |
country name (English by default), {country_name:ru} |
{region} |
region code; {region:ru} — the name |
{city}, {isp}, {operator} |
geo and network |
{connection_type}, {device_type} |
codes; with a language argument — names |
{device_brand}, {device_model}, {os}, {os_version}, {browser}, {browser_version} |
device |
{search_engine} |
search engine |
{is_bot}, {is_datacenter}, {is_using_proxy}, {is_unique} |
1 or 0 (is_datacenter — a data center or hosting IP) |
{fbclid}, {fbc}, {fbp}, {ttclid}, {gclid}, {gbraid}, {wbraid} |
click IDs of ad platforms |
Click fields — {sub_id_1}…{sub_id_30}, {extra_param_1}…{extra_param_10}, {keyword}
({keyword:cp1251} — in another encoding), {source}, {external_id}, {creative_id},
{ad_campaign_id}. Any other request parameter — by its name: {utm_source}, {gclid}, etc.
Service
| Macro | Value |
|---|---|
{date} |
date Y-m-d (UTC); {date:d.m.Y,Europe/Riga} — PHP format and time zone; formats unix, unixms, iso8601 |
{timestamp} |
Unix time |
{random} |
a number 0–100000; {random:1,100} — in a range |
{sample:a,b,c} |
a random one of those listed |
{uuid} |
UUID v4 |
{from_file:NAME} |
a random line from a macro file (Settings → Macro files) |
Only in S2S postbacks (conversion data, Conversions and postbacks)
| Macro | Value |
|---|---|
{status} |
the status as the affiliate network sent it (confirmed, hold…); if it did not, the conversion type. {status:lead=0 sale=1 rejected=2} — your own mapping |
{conversion_type} |
the tracker’s conversion type (lead, sale, rejected…) |
{original_status} |
the original status from the affiliate network |
{tid} |
the affiliate network’s transaction ID |
{revenue} = {payout} = {conversion_revenue} |
payout; {revenue:EUR} — in a currency, {revenue:USD,50} — 50 % of the amount |
{conversion_cost}, {conversion_profit} = {profit} |
conversion cost and profit |
{conversion_time} |
time of the first postback (Y-m-d H:i:s, the arguments are format and zone, as for {date}) |
{conversion_sale_time} |
time of the move to “confirmed” |
{param:NAME} |
a parameter that came in the postback |
{currency} |
tracker currency |
Your own JavaScript macros — plugins (JavaScript plugins).
Didn’t find an answer?
Support