AurumClick
ChaptersMoving from Keitaro

DocumentationGetting started

Moving from Keitaro

On this page
  1. What works without changes
  2. Import
  3. Switch-over plan

What is compatible with Keitaro without changes, importing objects and statistics with the wizard, and the traffic switch-over plan.

What works without changes

  • Campaign links (the identifiers — Keitaro aliases — are kept on import), ?_lp=1, _token, {offer}, _update_tokens.
  • Keitaro macros and postback parameters (subid, status, payout, tid, sub_id_N, *_status).
  • The Keitaro postback key is added as an extra key, so affiliate networks keep sending postbacks to the old URL.
  • Click API v3, KClient PHP/JS, the landing JS adapter, guest Redis for PHP landings.
  • The Admin API in Keitaro format (report/build, click and conversion logs): analytics scripts work without changes.

Import

The import pulls data through the Admin API of the Keitaro you are moving from. This is a Keitaro limitation, not an AurumClick one: Keitaro has the Admin API only from the Expert plan (Team, Enterprise); Starter and Advanced do not have it, and the wizard will tell you so. In that case upgrade to Expert for the duration of the move in the keitaro.io account (Licenses → change plan): under Keitaro rules there is no surcharge, the remaining license term is recalculated (docs.keitaro.io/en/site/license.html). The key belongs to a Keitaro administrator user (the users section, API keys). AurumClick itself has no plans: every feature is available to everyone (like Keitaro Enterprise).

Menu → System → Move from Keitaro (or aurum ctl keitaro import --url … --key … [--dry-run]): the Keitaro address and its Admin API key (Keitaro → Users → API keys) → “Connect” → “Dry run” → “Import”.

  1. Keitaro URL and Admin API key → connection check: the number of objects (including archived campaigns) and the time zone of the Keitaro administrator.
  2. What to move: domains, groups (of campaigns, offers, landings, domains), sources (parameters, S2S postback, template, traffic loss), affiliate networks, offers (payout, countries, {offer_value:…} values, the cap if your Keitaro version returns it) and landings (with files of local ones), campaigns with streams, filters and campaign S2S postbacks, the IP bot list. The Keitaro archive (archived campaigns with their streams, deleted streams, archived offers, landings, affiliate networks and domains) goes to our archive: it accepts no traffic, but statistics clicks and late postbacks for it are matched. Files of archived offers and landings are not downloaded. Archive auto-cleanup (Settings → Retention) does not delete what was moved from Keitaro: as in Keitaro, the archive is kept until you clear it manually (“Delete forever”).
  3. Options: keep campaign identifiers, keep object IDs, dry run — no changes, just a report.
  4. The report: what was created, what had already been moved earlier, what was skipped and why, warnings.

Running it again is safe: what was moved earlier is not created again but linked — a new stream or campaign that appeared in Keitaro after the first import is moved and refers to the offers, landings and sources moved before. You can move in parts (for example, offers first, then campaigns).

Not moved (the Keitaro Admin API does not have it, or there is no equivalent): conversion types and custom statuses (the built-in ones cover lead, sale, rejected, rebill and others; add your own values in Settings → Conversion types), users and permissions, custom metrics, labels (black/white lists), geo profiles, stream monitoring triggers (the report shows a warning), custom Keitaro PHP filters and macros, geo database and integration keys, tracker settings. The Keitaro postback key is not in the API either — enter it in the wizard (Keitaro → Settings → Postback URL, the part of the address before /postback).

Requests to Keitaro go with pauses and retries on failures, so a live Keitaro is not overloaded.

Statistics (after importing campaigns, the same wizard → “Statistics”): clicks and conversions from the Keitaro logs — by day, page by page, as a background job; after a failure the job resumes from the last loaded day.

  • All statistics (default): everything your Keitaro stores, from the day of the first click or conversion to today. After connecting, the wizard shows how many clicks and conversions Keitaro has and since which day. For a period — if you only need a part (there is no length limit). The click of a conversion made before the period is fetched from Keitaro by subid automatically.
  • Retention: statistics in AurumClick are kept indefinitely by default. If Settings → Retention sets a term shorter than the Keitaro history, the wizard offers to extend it (the history will be kept for another year); without extending, days older than the term are not moved, and the report shows the date loading starts from.
  • Clicks keep the Keitaro subid and are linked to the moved campaigns, streams, offers, landings and sources; the affiliate network and groups — by our objects. Moved: sub_id 1–30, extra params, geo, device, cost, bot and proxy flags, the click from the landing. So late postbacks from affiliate networks for old clicks find the click already in AurumClick.
  • Conversions go through as postbacks: type, network status, actual time and payout from Keitaro (also for offers with a fixed payout), the exchange rate on the conversion date; without S2S, caps and notifications. The cost stays on the clicks, so it is not doubled for CPA/RevShare campaigns. Specify the Keitaro revenue currency if it differs from the currency of this tracker.
  • Time zone — the one of the Keitaro administrator; repeated imports from this Keitaro use the same zone (otherwise click dates would drift and duplicates would appear).
  • The report: “loaded X of Y in the Keitaro log” for clicks and conversions, reasons for skips, days with discrepancies, columns your Keitaro version does not have. Re-importing a period does not create duplicates.

Keitaro streams from JSON: in the campaign editor, “Import JSON” also accepts an array of streams from Keitaro (GET /admin_api/v1/campaigns/{id}/streams): filters, schemes and actions are converted the same way as in the wizard, landings and offers are found by import ID mapping; those not found are listed in the warnings.

Switch-over plan

  1. Import the objects → check the key campaigns in the simulation with real parameters.
  2. Import all statistics, so the Keitaro history and old clicks with their subids are already in AurumClick.
  3. The Keitaro postback key has been added as an extra one, so postbacks to the old address will be accepted.
  4. Point the domains’ DNS to the AurumClick server: with kept identifiers the links keep working, and postbacks to the old addresses now arrive here (over http too, without a redirect).
  5. Right after the DNS switch, repeat the statistics import up to today: clicks that reached Keitaro between the first import and the switch are moved too (without duplicates).
  6. Do not turn Keitaro off until all DNS records and caches have moved over (a day or two); if you did not move the statistics, keep it at least for the affiliate networks’ approval period (30–60 days).
  7. Reconciliation: “loaded X of Y” in the import report, then on live traffic — clicks within ±1–2 %, conversions 100 %.
  8. 30–60 days after the move, delete the Keitaro postback key (Settings → Postback): a short key can be brute-forced.

Didn’t find an answer?

Support