This is useful when your CPA offer automatically redirects based on country and you are having a tough time getting it approved, or when you are optimizing a campaign and need a way to redirect traffic from a certain country to a different offer.
A lot of times traffic sources will send you some international traffic even though your campaign is set to a specific country, so it makes sense to send those visitors to an offer that accepts their country.
Step #1: Download Geo-IP Plugin
(some people are saying they can’t download the file. I don’t know what the hell they are talking about, but it’s on this page if the link above fails)
Step #2: Use This Code in Your Redirect File
I like to store all my outbound links in its own folder, so for this example let’s say the folder we are working in is domain.com/links – here is what it should look like.
Now, whenever somebody goes to domain.com/links/redirect.php they will be redirected to the links you set based on the country they are in. Here is a full list of country codes.