Conferences
Budapest, Hungary
08-10
July
Budapest, Hungary
09
July
09
July
09
July
09
July
Budapest, Hungary
09
July
Будапешт, Венгрия
09-10
July
10
July
14
July
Tbilisi, Georgia.
15
July
15
July
16
July
Limassol, Cyprus
23-24
July
23
July
Limassol, Cyprus
23
July
26
July
27-28
July
30-31
July
Limassol, Cyprus
07
August
Saint Petersburg, Russia
12-13
August
25
August
Mexico City, Mexico
27-01
August -
September
Мехико, Мексика
31
August
Mexico City, Mexico
01-03
September
Mexico City, Mexico
01-03
September
Mexico City, Mexico
03
September
Cancún, Mexico
07-08
September
Rome, Italy
02-05
November
Rome, Italy
02
November
04
November
05
November
24-25
November
Bangkok, Thailand
30-02
November -
December
Bangkok, Thailand
09-10
December
Ta’ Qali, Malta
03-05
May
Ho Chi Minh City, Vietnam
14
June

Facebook pixel auto-forward to ‘Thank You’ page


If you work with a large number of accounts at once (especially if you work via Dolphin), you can face the problem of placing each Facebook pixel code on the “Thank you” page. If you enter it manually, you will have to prepare separate flows for each account and spend a lot of time.

We need to configure everything so that the pixel is written on the “Thank you” page automatically. We used a bunch of Keitaro (using the CPARIP promo code) and KMA.biz affiliate, so let’s look at the example. Pre-landing and Landing are uploaded locally and the transfer of leads to the affiliate is done via API.

Forwarding a pixel via Keitaro

It all comes down to the fact that the pixel ID is passed via the incoming URL as a GET parameter.

We will get the pixel number by adding &fbp=pixel_number to the ad link.

  • In the tracker, we add the &fbp={fbp} offer parameter in the affiliate network settings. This is necessary for the forwarding from pre-landing to the landing page.

  •  Next, the pixel number received in the link will be forwarded through the order form, which is processed by the success.php file
  • To do this, add the following line to the order form <input type="hidden" name="fbp" value="{fbp}"/>

  • Keitaro will automatically substitute the pixel received in the link instead of {fbp} and then it will go to the handler. The only thing to do is to take it and add it to the thank you page.
  • In the api/success.php file add the line $_SESSION['fbp'] = $fbp; as in the screenshot:

  • Next, in the api/template/success.php file add the line $fbp = isset($_SESSION['fbp']) ? $_SESSION['fbp'] : '-';

  • In api/template/success.php we use the cut-down Facebook pixel <img height="1" width="1" src="https://www.facebook.com/tr?id=PIXEL_NUMBER&ev=Lead&noscript=1"/> We need to insert our received pixel number with the help of <?= $fbp ?>.

Done. Now each account will have its pixel number on the “Thank You” page.

Let’s consider a few more variants

The general principle is clear. Depending on the way of connecting landings on Keitaro and the peculiarities of realizing the transfer of leads in each affiliate, the methods of transfer will differ.

The same but without Keitaro

  • In the same way, we forward the pixel to the landing page in the ad link &fbp=pixel_number
  • To pull the pixel from the link to the very beginning of the landing index.php file add:
<?php

$fbp = (isset($_GET['fbp'])) ? trim($_GET['fbp']) : '';

?>
  • And add to the order form:
<input type="hidden" name="fbp" value="<?=$fbp?>" />
  • Further, as in the case with Keitaro, we pass the success.php to the “Thank you” page.

If the forwarding to the “Thank you” page is done via redirect

When the “Thank you” page is connected as a regular URL and the redirects go to it, the pixel should be passed as a parameter, and on the Thank you page we should pull it out of the URL and put it into the pixel code.

  • We need to add the received pixel to the redirect link:
https://domain/success.php?fbp=<?=$fbp?>
  • and get it again from the link on the thank you page:
<?php

$fbp = (isset($_GET['fbp'])) ? trim($_GET['fbp']) : '';

?>
  • and add it to the pixel code:
<img height="1" width="1" src="https://www.facebook.com/tr?id=<?=$fbp?>&ev=Lead&noscript=1"/

0 Comments
Affiliate - Our assessment
Verticals
Min. sum
Site
It’s an affiliate program of the eponymous online casino. A direct advertiser as of 2017. They work by RevShare (up to 50%) partnership strategy.
1,000 rubles/$20/€20 pay
фото
фото
фото
фото
фото
фото
фото
фото
фото
фото
фото
фото
фото
фото
Affiliate program in the gambling vertical, a direct advertiser. It accepts traffic from CIS. It cooperates on the CPA, RevShare, Hybrid, Fix, and Flat models.
€100 pay
фото
фото
фото
фото
фото
фото
фото
It’s our affiliate program with gambling and betting offers. We are currently in beta but we accept traffic.
$20 pay
фото
860
Go to offers
SpinBetter Partners is an affiliate program in the Gambling and Betting verticals and a direct advertiser of the SpinBetter project. The company has been operating since 2019. It co-operates on CPA, Hybrid, RevShare, Fix, and Fix + RevShare models. SpinBet accepts SEO, ASO, PPC, UAC, Facebook, social, stream, email, messaging apps, and other types of traffic, except motive, schemes, and fraud.
50 pay
фото
фото
фото
фото
фото
Traffic Cake is a direct advertiser offering iGaming vertical offers. Exclusive offers include VOX and Winnita. GEOs: Tier-1 and Tier-2. An authorized partner of well-known brands such as Vulkan Vegas, IceCasino, and Verde Casino. Works on CPA (up to €600), RevShare, and Hybrid models. Affiliates can earn up to 60% RevShare. Payments are made weekly with no delays. All major traffic sources are accepted.
€100 pay
фото
фото
Direct advertiser of popular European casino and sportsbook brands V.Vegas, ICE Casino, VERDE Casino, FS Casino, Fiery Play, Slotoro and Hit’N’Spin. Founded in 2016, they operate on CPA, RevShare, and Hybrid models, accepting traffic from over 35 countries. They provide all the necessary tools for success.
€100 pay
фото
фото
фото
фото
фото