Integration

URLs

URL is used for advertising networks. Copy URL and paste it to the ad.

In case the traffic source is selected for the campaign, all necessary params will be added automatically.

The simplest way to integrate a campaign with any website. Copy the link code and paste to a website page. All necessary parameters will be sent automatically.

Redirects

Forced PHP-redirect

This PHP code immediately redirects visitors to the campaign. Insert it to the page which should redirect visitors.

iframe

Creates iframe tag and loads the campaign inside of it. This code creates an iframe block and loads the campaign inside it.

To show a full-screen frame select “Frameset” integration method.

Check the list of redirects and actions compatability for more info.

Script (async)

This code creates a <script> element on the web page, so it can execute any JS code in user's browser.

The usage: to execute redirects from the streams (redirect type - “Redirect for Script”) or for loading external scripts ( action “CURL”).

If the website with the code uses HTTPS, the tracker should use HTTPS as well.

Script (sync)

An outdated way of creation a script with document.write. Chrome announced blocking this type of scripts insertion.

If the website with the code uses HTTPS, the tracker should use HTTPS as well.

Frames

Static Frameset

This code creates fullscreen frame (html frameset). Put the code instead <body> tag. Frameset won't work if there's a <body> tag on a page.

Динамический фреймсет (frameset)

This code creates fullscreen frame (html frameset) with parameters (UTM-marks) transferring.

Make sure that the page doesn't contain a <body> tag.

Other

QR-code

Creates a QR-code for your campaign.

Tracking Script

The tracking script collects information about visitors, generates offers links and report conversion. Please, use it only if you can't send traffic straight to campaign URL. Read more on a tracking script page.

Pixel for Email

That code creates an img tag. When user load the image you'll get information about it.

Click API Client

Enabling a client for working with Click API. More info on Click Api Client page.

Click Client v3

Click Client allows you to use Click API, so you can make requests to the tracker and just show the result to the visitors.

Click Client v2, v1

Outdated way of interacting with Click API. Read more on click API v1 page.

WordPress

Integrating Keitaro and a WordPress website. Read more about “Keitaro Tracker Integration” plugin on WordPress plugin page.

Banners

This code creates iframe block. Inside the block it shows the banners. Compatible with almost all types of HTML Ads and RTB system scripts.

To show popups, popovers, sliders use JS Ads.

This code shows banners in the context of the webpage. It might be incompatible with some JS-scripts.

JS Ads (slider, topline, video, popunder, clickunder)

This method allow to use complex ad formats, like popups, popuaders, topups.

General Questions

How to integrate campaign with advertising networks

Read page networks.

How to integrate with a landing page

Read page landing pages.

How to integrate with doorways

How to show banners

Is kclick_client.php differs in campaigns?

kclick_client.php file is the same for all campaigns, but the code wich calls this client differs in every campaign.

The browser shows "Unsafe content blocked" или "Page was loaded over HTTPS"

That means your website works on HTTPS and Keitaro works on HTTP. Add SSL certificate to your tracker following this guide.