Home > General > Affiliate Marketing Forum

International Geo Script (17)


11-19-2012 04:45 PM #1 2modest (Member)
International Geo Script

What are you guys using for international geo scripts/services. Are any of them accurate or should I not bother with a geo for my international landing pages?

Thanks


11-19-2012 05:15 PM #2 hd2010 (Member)

maxmind


11-20-2012 04:13 PM #3 paycoguy (Member)

How do you add the MaxMind script to your cloaking script? Say, to the AffPlex cloaker?


11-20-2012 04:25 PM #4 andyscraven (Member)

I call my geo Script directly from my Traffic Source and the script then sorts the traffic by Country Code and takes various actions.

I use Maxnind too, great to use! I have just been discussing this in another thread and gave an example of one of my Geo Scripts!

http://stmforum.com/forum/showthread...topped-working


11-20-2012 05:27 PM #5 zeno (Administrator)

Affplex Cloaker? DANGER DANGER lol


11-25-2012 10:13 PM #6 paycoguy (Member)

I've installed the Geo Lite DB on my server and tested it. Now how do I implement it in my campaigns for multiple countries?


11-26-2012 02:03 AM #7 andy_a (Member)

Quote Originally Posted by paycoguy View Post
I've installed the Geo Lite DB on my server and tested it. Now how do I implement it in my campaigns for multiple countries?
Bootstrap your setup. Use maxmind to figure out which country they are coming from, then include the proper landing page.

Here's a super basic example (your maxmind config may be different, this is purely for consumption):

[PHP]
/* index.php - the page users should land on */
require_once('includes/geoip.inc');
$gi = geoip_open('includes/GeoIP.dat', GEOIP_STANDARD);
$user_country = geoip_country_code_by_addr($gi, $_SERVER['REMOTE_ADDR']);

$landing_page['US'] = 'lander-01-us.php';
$landing_page['CA'] = 'lander-01-ca.php';
$landing_page['DE'] = 'lander-01-de.php';

require_once($landing_page[$user_country]);
[/PHP]

If you're wondering what bootstrapping is here's an article that explains the concept: http://devzone.zend.com/400/blueprin...apping-part-1/


11-26-2012 02:11 AM #8 hd2010 (Member)

@andy_a : it sound so technical


11-26-2012 09:28 AM #9 andyscraven (Member)

Quote Originally Posted by hd2010 View Post
@andy_a : it sound so technical
It is really not that hard. The path is Traffic Source -> Geo Script -> Tracker -> Offer/Lander

So for each campaign I have a GEO script, which as @andy_a shows above will send the traffic based on Country etc. I actually use it to append the Keyword sent from CPC traffic so it is easier to read in my tracker.

So if someone searched 'work from home' my Geo Script sends 'GB-GG-work from home' to my Tracker.

GB= Her Britannic Majesty's Great Britain, don't you know!!!
GG = Google.

That means that when I have an offer that is valid say in 6 Countries I know which Country is doing the business!

I also save a log file of all traffic coming from non-qualifying Countries as that way I know how good the Traffic Source is of sending the right traffic! You would be amazed!

What I often do is send that traffic to the base URL of the offer without my AffID so the offer can be seen. Very important for Facebook traffic as the Facebook reviewer does not want to see some crappy survey page and Disapprove your Ad because he is viewing it from the USA or India, which could be non qualifying traffic for that offer!


11-26-2012 11:02 AM #10 hd2010 (Member)

@andrycraven : now you're so expert.... good to see you pick up very fast, just tested your skillset


11-26-2012 12:33 PM #11 andyscraven (Member)

Quote Originally Posted by hd2010 View Post
@andrycraven : now you're so expert.... good to see you pick up very fast, just tested your skillset
Ha ha! Yeah you have to learn fast or you lose money!!! :-)


01-07-2013 05:07 PM #12 naesm (Member)

Is it a good idea to put my index.php files on the same domain as Prosper? For example my tracking is *****track.info . I will use ****track.info/offers/1 for the index.php file with instructions for routing and landers for each campaign. Or is there a better way to get er done?


01-07-2013 08:26 PM #13 zeno (Administrator)

No reason not to... Is track.info on your best/fastest server? That's where the redirects should be going through. Are you pushing so much volume that the server will struggle with prosper and the click redirects? Probably not.


01-07-2013 08:32 PM #14 naesm (Member)

Quote Originally Posted by zeno View Post
No reason not to... Is track.info on your best/fastest server? That's where the redirects should be going through. Are you pushing so much volume that the server will struggle with prosper and the click redirects? Probably not.
I only have one server right now. A Storm VPS and volume definitely isn't an issue right now but I hope to have problems like that soon


01-07-2013 08:56 PM #15 zeno (Administrator)

Definitely keep it on the same server. Actually, if you structured things right, you could have a track folder alongside your prosper install, with your redirect files buried in there somewhere, and when redirecting you could use something like:

[PHP]header ('Location: ../../../tracking202/redirect/dl.php');[/PHP]

Instead of linking to a URL like http://tracking202domain.com/etc. As far as I know retrieving a local file is faster than getting a URL so will speed up redirects a tad. Though you will want to make sure you don't screw up the number of ../../ heh, test that shit.


01-08-2013 12:06 AM #16 naesm (Member)

Quote Originally Posted by zeno View Post
Definitely keep it on the same server. Actually, if you structured things right, you could have a track folder alongside your prosper install, with your redirect files buried in there somewhere, and when redirecting you could use something like:

[PHP]header ('Location: ../../../tracking202/redirect/dl.php');[/PHP]

Instead of linking to a URL like http://tracking202domain.com/etc. As far as I know retrieving a local file is faster than getting a URL so will speed up redirects a tad. Though you will want to make sure you don't screw up the number of ../../ heh, test that shit.
I don't understand what you are trying to say with the above php code? The way I was planning to structure this is to have a track folder in the public_html folder. Inside that folder would be a folder for each campaign and inside that folder would be the index.php (with the redirect script based on Geo location, if you have a better way bring it on So for example the path would be ***track.info/track/ayiau/index.php


01-08-2013 12:16 AM #17 zeno (Administrator)

Nevermind, don't get hung up on it, just have your prosper 202 URL in there. Baby steps :-)


Home > General > Affiliate Marketing Forum