Working with Doorways

How to connect Keitaro to doorway?

There are several ways:

  1. By a link;
  2. By a Click API Client connection;
  3. By a redirect through a Script or Iframe;
  4. Other solutions.

After creating a campaign press “Get URL” or “Integrate > URL”. Use the received URL for the link on the doorway.

<a href="URL">link</a>

Connecting doorway through Click API Client

This is a hidden for users way of exchanging information with Keitaro. Doorway receives the necessary instructions and immediately executes them. The PHP support on the doorway side is necessary.

  1. After creating a campaign press the button “Integrate” (menu “Additional”);
  2. Choose “Click API Client”;
  3. Install the code according to the instruction.

Now you can control the doorway behavior directly in Keitaro. More about using the Click API Client read on the page Click API Client.

Redirect through Script or Iframe

This method means installing a special script to the HTML code of your doorway. This method supports static websites (without PHP support).

  1. Press the button “Integrate” (menu “Additional”);
  2. Choose “Script” or “Iframe”;
  3. Install the code according to the instruction.

Now you can use redirects in streams. See the page redirects compatibility table.

Other solutions

You can use any other solution if you need. Here is the list of the solutions provided in Keitaro, which you can take from the page “Integrate”:

  • PHP-redirect
  • Frameset

If you need to run a JS-script from the stream. For example, popup, popover, modal, message and others. Use the following solution:

  1. Connect the “Script” from the page “Integrate”;
  2. At the streams use the action “Show text”. You can paste there any html or js-code.

How to redirect only certain users from the website? (Solution on JS)

Use the connection method Redirect through script or iframe. Create streams to catch only the necessary users, using the filters.

If you want, you can use the action “Do nothing” at the stream that should leave users on the doorway.

How to redirect only certain users from the doorway? (Server solution)

Use the connection method Connecting doorway through Click API Client. Create streams to catch only the necessary users, using the filters.

If you want, you can use the action “Do nothing” at the stream that should leave on the doorway.