17 Oct
Posted by admin as Affiliate Marketing, Landing Pages
As you probably already know old Facebook cloaking method not always work. They start testing new method without the traditional intern referral URL. So I’ve created clocking script + service to track reviewer’s IP addresses and share between users.
How it works:
You install script on your server, configure it and when Facebook intern come to review your ad from the traditional referral URL, script will send IP address, referral URL and user agent to tracking server. We will provide a daily updates of IP text file with fresh IP addresses. So your script always be up to date. More users use this script/service the more IP we will collect.
Installation and Configuration
1. Download.
2. Unpack the files to any folder on your web server. Make sure this line is in your php.ini file: allow_url_fopen = On
3. Edit the configuration file fbcloaking-config.php. You will see 2 PHP arrays $offers and $cloaked. $offers array for your non-cloaked URLs and $cloaked for cloaked links:). For same offer you have to use identical array keys in both arrays.
Example:
$offers = array( 'offer-id1' => "http://trk.com/dl.php?t202id=123&t202kw=" . $_GET['ad'], 'offer-id2' => "http://trk.com/dl.php?t202id=456&t202kw=" . $_GET['ad'], 'offer-id3' => "http://anotheroffer.com/", ); $cloaked = array( 'offer-id1' => 'http://apps.facebook.com/visabusiness/', 'offer-id2' => 'http://www.disney.com/', 'offer-id3' => 'http://affiliateplex.com/', );
As you can see you can pass through any query string parameters further to your tracking software.
Here is example how to configure cloaking script with prosper202/tracking202:
The best way to split testing your ads with prosper202/tracking202 and Facebook is using single destination URL and t202kw parameter.
For example you have created few ads with following URLs pointing to your cloaking script:
http://yourdomain.com/redirect.php?oid=offer1&ad=ad1
http://yourdomain.com/redirect.php?oid=offer1&ad=ad2
http://yourdomain.com/redirect.php?oid=offer2&ad=ad1
http://yourdomain.com/redirect.php?oid=offer3&ad=ad1
Then your configuration file should look something like this:
$offers = array( 'offer1' => "http://trk.com/dl.php?t202id=123&t202kw=" . $_GET['ad'], 'offer2' => "http://trk.com/dl.php?t202id=456&t202kw=" . $_GET['ad'], 'offer3' => "http://trk.com/dl.php?t202id=789&t202kw=" . $_GET['ad'], ); $cloaked = array( 'offer1' => 'http://apps.facebook.com/visabusiness/', 'offer2' => 'http://www.disney.com/', 'offer3' => 'http://affiliateplex.com/', );
If you don’t use tracking software you can just put offer or landing page URL into $offers array.
4. Daily update IP text file fbcloaking.txt from here.
Tags: cloaking, facebook
8 Responses
surflovers (1 comments.)
October 18th, 2008 at 1:35 pm
1wow two thumbs up…. thanks for the script.. any better way to improve it ??
admin
October 18th, 2008 at 4:18 pm
2How can I improve it? Any suggestion?
Matt
October 29th, 2008 at 8:17 pm
3This is great. Keep the IPs coming!
Miguel (SEO Guru) (1 comments.)
November 11th, 2008 at 3:24 am
4Thanks for the script!
xerafhica (1 comments.)
November 13th, 2008 at 7:53 am
5Thanks for this helpful script!
Tools Any Facebook Social Ads User Should Have | Facebook Affiliate(new comment)
December 4th, 2008 at 2:16 am
6[…] 2) Facebook Cloaking Script with Daily Updated IP Database - A cloaking script that sends the interns that approve your ad to a “safe” landing page. This is only useful if you are promoting something that likely wouldn’t be passed based on your LP. […]
Matthew Berman(new comment)
December 4th, 2008 at 4:30 pm
7nice script. you can just use a redirect too once the ad gets approved..but this is better if your submitting a lot of ads.
i wrote up a script yesterday that redirects repeat visitors who both did and did not convert. check it out:
http://internetbusinessdaily.net/how-to-deal-with-repeat-visitors-who-didnt-convert/
let me know if this is useful to others…i find it very useful. since i change my ads so often i get repeat clicks all the time and they either signed up already and wont again or didnt sign up and wont.
Lance(new comment)
December 13th, 2008 at 4:35 pm
8I’m trying to toggle my allow_url_fopen, but my hosting company will not do it globally or at all(poor programming,security issues they say). My current php settings has allow_url_fopen = off based on phpinfo(). I tried toggling it with .htaccess file but I’m not sure if that is targeting the PHP.INI file. Please help as I would like to beat those interns. Thank you!
is there a way to do this with the cURL module?
RSS feed for comments on this post · TrackBack URI
Leave a reply
Categories
Make Money
Archives
Links
Meta
Calendar
Recent Entries
Recent Comments
Most Commented
Affiliate Marketing Blog is proudly powered by WordPress - BloggingPro theme by: Design Disease
© AffiliatePlex.com