Landing page: Redirect
Use that method if the landing page is hosted on another server.
To make a landing page with redirect, choose Redirect:
See redirect descriptions on Redirects.
Setting up offer link
Use one of the following solutions:
To make a link to a random offer, use:
<script>document.write('<a href="//TRACKER_DOMAIN/?_lp=1&'+window.location.search.substring(1)+'">Offer</a>');</script>
1
To make a link to a specific offer, use:
<script>document.write('<a href="//TRACKER_DOMAIN/?_lp=1&'+window.location.search.substring(1)+'&offer_id=100">Offer 1</a>');</script>
<script>document.write('<a href="//TRACKER_DOMAIN/?_lp=1&'+window.location.search.substring(1)+'&offer_id=200">Offer 2</a>');</script>
1
2
To make a link to a random offer, use:
<a href="//TRACKER_DOMAIN/?_lp=1&_token=<?php echo urlencode($_GET['_token'])?>">Offer</a>
1
To make a link to a specific offer, use:
<a href="//TRACKER_DOMAIN/?_lp=1&_token=<?php echo urlencode($_GET['_token'])?>&offer_id=1">Offer 1</a>
<a href="//TRACKER_DOMAIN/?_lp=1&_token=<?php echo urlencode($_GET['_token'])?>&offer_id=2">Offer 2</a>
1
2
- Integrate KClient PHP to the site.
- To make a link to a random offer, use:
<a href="<?php echo $client->getOffer() ?>">Offer</a>
1
(Optional) To make a link to a specific offer, use:
<a href="<?php echo $client->getOffer(array('offer_id' => 123)) ?>">Offer 1</a>
<a href="<?php echo $client->getOffer(array('offer_id' => 123)) ?>">Offer 2</a>
1
2
- Integrate JS Adapter to the site.
- To make a link to a random offer, use:
<a href="https://TRACKER_DOMAIN/?_lp=1">Offer</a>
1
(Optional) To make a link to a specific offer, use:
<a href="https://TRACKER_DOMAIN/?_lp=1&offer_id=100">Offer 1</a>
<a href="https://TRACKER_DOMAIN/?_lp=1&offer_id=200">Offer 2</a>
1
2
How does it work?
Keitaro needs to know where the visitor came from before sending to the offer.
For doing so, it adds two parameters _subid
and _token
before redirecting to the landing page.
Then the offer code takes _token
parameter from the URL to make an offer link.
It looks like:
https://trackerdomain/?_lp=1&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c`.
1
Sending postback
- Set up a JS Adapter
- Set up a Postback code.
FAQ
How to use Facebook Pixel?
Read FB Pixel page.
How to use TikTok Pixel?
Read TikTok Pixel page.