View Single Post
Old 03-09-2015, 07:55 PM  
italkcafe
Confirmed User
 
Industry Role:
Join Date: Jul 2012
Posts: 91
I’d like to have one of my campaign receive only UK visitor / traffic. Is this possible?

Other campaigns if active is distributed normally…

Some of my sites use this JS:

jQuery.ajax( {
url: '//freegeoip.net/json/',
type: 'POST',
dataType: 'jsonp',
success: function(location) {

//alert(location.country_code);

//for UK
if (location.country_code === 'GB') {
// Redirect
//window.location.href = ‘';
}
}
});
__________________
TPG and tube sites looking for trades
italkcafe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote