How to Use Pre-Poppable Affiliate Offers

Affiliate Marketing 4 Comments »

Originally I posted this over at Blackhatworld.com but thought I’d repost it on here for my readers.

Someone asked what is a pre-pop offer and how do I use it?

First of a pre-pop offer means that they allow you to populate the data in the offer with a GET uri. So for example if your form had fields “fname”, “lname”, “phone” your url to pre-pop it might look like this:

http://www.affiliateoffer.com/lander.php?fname=Smaxor&lname=Musings&phone=4082931938

So what this would do is take the user to the landing page with their first name, last name and phone number already filled in so all they have to do is hit submit and makes your conversions go way up. Not all offers support this however a lot do so just ask your affiliate manager what pre-pops they offer.

Pre-Pop is awesome especially if you have a white label or private lable offer you’re promoting. Bascialy once they fill out the first offer, we’ll use a mortgage lead as an example, you forward them to a second page or throw them a pop-up already pre-populated with the data that they filled out from the first mortgage lead offer so all they have to do is hit submit.

Some examples of numbers, when we used to run a lot of mortgage ( sucks now for mortgage ) we’d pre-pop a home owners insurance lead form. 15% would hit submit and we’d get a second 8$ pop for the same lead. Then we’d pre-pop a new window install lead offer and on and on.

1000 leads * 15% = 150 leads additional * 8 = $1200 extra for the same traffic

Good stuff. The other thing pre-pop’s are great for is if you are a mailer and have data then you can make the links that they click on have their info in them already so that when they click and go to the landing page it’s already pre-populated with their info.

So your link in the email might look like this

http://www.offer.com/page.php?name=t…one=theirphone…….

Now you’re conversion is going to go up quite a bit if their form is already filled out with their info. Also if you don’t want to use that big link in a mail or the affiliate url ( always a good idea ) you can send them to your domains and keep a database of records. So for example you use a link like this

http://www.yourdomain.com/jump.php?id=38357

Where 38357 corresponds to a record id in the database. You pull their record and then forward them to the offer with their pre-pop info.
Simple code to do this would be

<?php
// connect to your db
dbconnect();
// pull the id from the uri
$id = htmlentities(trim($_GET['id']));
// build your sql for pulling the record from the database
$sql = "SELECT * FROM records WHERE id = '$id'";
// get the result from the database for the id
$sql_result = mysql_query($sql);
// put that result into an array
$row = mysql_fetch_row($sql_result);
// here we're redirecting the user to the landing page with the pre-pop uri, this is
// assuming that first name is the second field, last name the 3rd field and phone number
// the 4th field.
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.affiliateoffer.com/lander.php?fname={$row[1]}&lname={$row[2]}&phone={$row[3]}\"/>";
?>

Hope that helps and explains some stuff.

Diorex’s Blog is back Up - But Moved

Affiliate News, Affiliate Marketing 3 Comments »

He has moved it to his own domain. He’s posted all his enlightening archived content posts from the past.

 DIOREX

zxbfwwr - What is it? Number 1 on Google Trends

General 5 Comments »

Thought I’d make a blog post about it and see if the highest trend keyword right now will bring much traffic. My guess is it’s someone gaming Trends. The other thing to watch for is watch the term zxbfwwr in google. See how many results pop up. As of now there’s only 10 where I’m located. So follow this search to see what happens. zxbfwwr

PHP & CURL Forum

PHP Automation Coding 2 Comments »

Just a quick post about a forum I found today. If you’re looking for other people to talk about CURL and PHP with I came across this forum the other yesterday. Doesn’t seem super active however there might be some answers to your questions in the history.

http://curl.phptrack.com/forum/viewforum.php?f=1

Lots Of Proxies from 1 Server using 3Proxy

PHP Automation Coding 5 Comments »

My goal was to get 8k IP’s setup on a single server I’d never done this before but someone mentioned you could so I figured it was possible.

As mentioned in the title the proxy server we’re going to use is a Russian server called 3proxy. The beauty of 3proxy is it’s ultra lightweight, fast and you can run multiple IP’s in a single daemon because it has internal threads. Check out http://3proxy.ru/ which is the home of 3proxy.

We started off by getting all the IP’s pointed to the beefy dedicated server and then started playing with proxy software. We first started off with tinyproxy without much success. I had never used this before but my hosting company suggested and mentioned it would work for this setup. Unfortunately when you try to load 8k IP’s it starts a new daemon process in the OS for each IP and will eventually crash.

Next we moved to my old standby I’ve been using for a few years now, 3proxy which we tried the same thing as we did with tinyproxy which was start a daemon for each individual IP. We tried this first as this is how I have all my other servers configured and thought 3proxy might have a smaller footprint. Guess what? This crashed just the same. The next config was throwing 8k IP’s in a single daemon. CRASH! After that we gave 4 daemon’s, 2k per a shot. This actually ran but excrutiatingly slow. The load times of pages was 10x’s what it was running a single c-block and single daemon which was our base test case. What was interesting was the server was very responsive with a super low load using this setup, but for some reason the proxies were very unresponsive. I don’t know much about the internal coding of 3proxy but I imagine it has something to do with how it’s designed internally. Lastly I decided I’d try running an individual daemon for each c-block all at the same time. Now, for each daemon we need to run it on a different listening port. This was the magic bullet, seems if you don’t put to many IP’s in a single daemon they run smooth. As of right now I’m running about a 8 server load which high but things are still running very smoothly and the load times are almost as fast as not using a proxy at all.

If you want to run a lot of proxies on single server I ‘d suggest 3proxy which is a nice free opensource piece of software. Then run no more then 255 IP’s per daemon. The number of daemon’s per server you’re going to be able to run is solely dependent on how good the server is.

P.S. That fellow who told me I could run them all on the the same server later said no you couldn’t after the first couple of attempts. Also mentioned he’d never done it before.

If you’re interested in running a setup like this here’s a couple things to help.

1. This first script is going to make your config files for your daemons that 3proxy needs to run. These config’s are set as open proxies right and you should put some IP whitelisting or login/password protection on them. Read more on the 3proxy website about how to do this.

<?
// this is the port we'll start incrementing from
$port = 22406;
// first class C
$beginningclassc = 122;
//last class C
$endingclassc = 224;
//this is our class C id's like this XXX.XXX.122
for($c = $beginningclassc;$c <= $endingclassc;$c++)
{
// these are our settings for our config file
$filecontents = "#!/usr/local/bin/3proxy
nserver 127.0.0.1
nscache 65536
timeouts 1 5 30 60 180 1800 15 60
log /usr/home/3proxy.log
daemon
#auth iponly
auth none
dnspr
flush
auth none
";
// adding each of the IP's to the config file
for($i=2;$i<255;$i++)
{
$filecontents .= "external 111.222.$c.$i\n";
$filecontents .= "internal 111.222.$c.$i\n";
//
$filecontents .= "proxy -a -n -p$port\n";
}
// increments the port for the next loop
$port++;
// saves the file to a dir of your choosing with a filename
// that has the C segment in it for identification
file_put_contents("c:/files/proxy-$c.cfg",$filecontents);
}
?>


2. This second script is a bash script that runs on your server that will start each of the daemons. Instead of running
>3proxy proxy-112.cfg
all you have to do is run this script on your server and it’ll start them all for you.

#!/bin/bash
COUNTER=122
while [ $COUNTER -lt 224 ]; do
3proxy /root/3proxy/proxy-$COUNTER.cfg
let COUNTER=COUNTER+1
done

If you don’t know how to use this make a file on your server called “proxy-start”. Then chmod it 777 by the command chmod 777 proxy-start. Then just run it using ./proxy-start. That should get all your blocks up and running. If you have an issue you can just do a killall -9 3proxy which will kill all your 3proxy processes and you can start again.

Hope this helps someone :)