GUIDES
Shakes Pro + Keitaro: 15-minute integration and lead submission via API

To start working with a new offer, you don’t have to spend several hours on technical setup. Shakes Pro already has a ready-made template for Keitaro, and when working with local landing pages, leads can be submitted directly via API.

In this guide we’ll cover both options: standard integration via the tracker and setting up a local landing page.

Quick Shakes Pro to Keitaro integration

This method works if you’re using a ready-made stream link and want to receive conversion data in the tracker.

Step 1. Add Shakes Pro to Keitaro

Open the “Affiliate networks” section in Keitaro and click “Create”.

Select Shakes from the template list. The main fields will be filled in automatically.

After saving, copy the Postback URL. You’ll need it in your Shakes Pro dashboard to pass lead statuses back to the tracker.

Step 2. Create a stream in Shakes Pro

Go to your dashboard, select the offer you need and create a stream.

In the additional settings, find the “Postback” field, check the required statuses and paste the URL you copied from Keitaro.

Then save the stream and copy the ready-made link.

Step 3. Add the offer to the tracker

In Keitaro, create a new offer and paste the stream link from Shakes Pro.

Then create a campaign and add this offer to the flow schema.

The basic setup is now complete. Clicks will go through Keitaro, and conversion and status data will start coming back to the tracker via the postback.

Submitting leads via API

This option is needed if you work with a local landing page and want to send leads directly to Shakes Pro.

Usually, three main files are used for this setup:

  • index.html — the landing page;
  • order.php — the handler that submits the lead;
  • success.html — the page shown after a successful order.

You can request a ready-made archive with the necessary files and scripts from your personal manager.

What to check in index.html

First, make sure the jQuery library is included on the page if it’s used by the landing page scripts.

Then check the order forms. The action attribute must point to the file that processes the lead:

<form action="order.php" method="post">

The form should also have a hidden field for passing the subid, if this parameter is used for analytics and lead matching.

Example:

<input type="hidden" name="sub1" value="">

It’s best to verify the exact parameter name against your stream settings and the documentation for the ready-made archive.

What to specify in order.php

The order.php file accepts data from the form and sends it to Shakes Pro.

You need to check several values in it:

  • the API key from your profile;
  • the offer ID;
  • the stream code;
  • the address of the source landing page;
  • the parameters submitted along with the lead.

If the form sends data via the POST method, make sure the corresponding values in order.php are also accepted via $_POST.

For example:

$sub1 = $_POST['sub1'] ?? '';

If the file still has $_GET, the parameter may not be passed with a standard form submission.

How to check that everything works

Before launching traffic, send a test lead.

Check:

  • whether the lead appeared in your Shakes Pro dashboard;
  • whether it was recorded under the correct stream;
  • whether the subid was passed;
  • whether the status came back to Keitaro;
  • whether the thank-you page opened correctly.

If even one of these steps fails, it’s better not to launch the campaign until the issue is found. Most often, the problem is related to an incorrect Postback URL, stream code, offer ID or the way parameters are passed.

Which option to choose

Integration via a ready-made stream link suits those who need a fast and straightforward setup through Keitaro.

Working via API is more convenient if you:

  • host the landing page on your own server;
  • want to control loading speed;
  • customize pages yourself;
  • pass additional parameters;
  • use your own analytics.

Both methods can be set up without complex development. If you have questions about the API, postback or landing page files, reach out to your Shakes Pro personal manager.

Conclusion

For a standard launch, it’s enough to add the Shakes template in Keitaro, set up the postback and connect the stream link.

If you work with a local landing page, leads can be submitted directly via API. In this case, it’s important to carefully check the order form, the parameters in order.php and to send a test lead before the campaign starts.

Proper setup at the start helps you avoid lost leads and inaccuracies in your stats.

You may also like