The AlterCPA Pro / Cloud platform can send traffic via two channels: primary and backup. The primary channel is used during normal operation, the backup is used when the system is down.
The backup channel is not preconfigured — its operation is provided by landing pages. If the system goes down, traffic queued in the site storage is preserved and, after service is restored, is dispatched within 10 minutes. If traffic is not sent via a landing page, leads will be lost in case of a failure.
Classic mode of operation
For stable operation, each offer must have at least one landing page or a dummy site. When downloading the archive, the webmaster will receive a file api.php that already contains both sending channels:
$urls = [
"https://www.altercpa.top/api/wm/push.json?id=1-aaa&offer=54&flow=55&site=76",
"https://r.altercpa.top/maca/mx/buy/?task=push&id=1-aaa&offer=54&flow=55&site=76"
];
The first link is the standard API sending link, the second is the backup channel. Everything is generated and added to the archive automatically if the landing page is configured according to the instructions.
Thus, the most classic way to use the backup channel is to use landing pages in the usual workflow.
Manual creation of a backup sending channel
If the webmaster uses their own landing page, they can manually form the backup channel link and add it to their site.
Syntax:
https://r.network.site/site/path/?task=push&id=API&offer=OFFER&flow=FLOW&site=SITE
network.site- the domain of your systemAPI- the user's API tokenOFFER- offer identifierFLOW- flow identifierSITE- site identifier
In other words, take the standard push link and replace the segment www.altercpa.top/api/wm/push.json with r.network.site/site/path/?task=push.
Royal clusterhack
If the system backup channel raises any concerns (usually irrationally paranoid), you can implement your own solution.
Create a file pusher.php (name can be any) in the site storage with content like:
$cms = require_once $_SERVER['DOCUMENT_ROOT'] . '/init.php';
$cms->start( 0, 0, 0 );
$cms->tasks();
$cms->errorpage();
Then replace the segment www.altercpa.top/api/wm/push.json in the standard push link with r.network.site/pusher.php?task=push. The domain is yours, the rest of the URL remains unchanged.