Geo redirect script
2013-11-03, 11:37 AM,
#1
hello folks,am trying to find a geo redirect script.i tried MaxMind's JS API but dosen't find it working .i was using awm ,its smart url is really awesome. but its max payout is 1.25 for a us survey,i am getting much better rates at cpalead.but i am wasting lot of traffic from other countires .so i need a geo redirect script which works like awm smart url...

does the email submits or first page submit converts well ?
Reply
2013-11-03, 11:57 AM, (This post was last modified: 2013-11-03, 12:00 PM by isoz.)
#2
Quote:<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script>
<script language="JavaScript">

var country=geoip_country_code();

if(country == "EE" | country == "LT" | country == "EG" | country == "IQ" | country == "ID" | country == "PS" | country == "PH" | country == "IN" | country == "VN" | country == "TH" | country == "TW" | country == "MD" | country == "LY" | country == "HU" | country == "BG" | country == "TR" | country == "HR" | country == "DZ" | country == "BA" | country == "MK" | country == "RS" | country == "CY" | country == "RO" | country == "BR" | country == "TT" | country == "LV" | country == "CZ" | country == "SK" | country == "PK" | country == "MA" | country == "MY" | country == "MN" | country == "KR" | country == "GE" | country == "TN" | country == "CI") {
window.location = "";
} else if(country == "SI") {
window.location = "";
} else {
window.location = "";
}
</script>

It's maxmind and works perfectly.
I usually filter all those countries in the beggining since they don't really convert and just kill my virality, but there you go.
Latest Thanks - View all

0Dark(2013-11-29 12:08 PM) arun9020(2013-11-03 02:45 PM) 
Reply
2013-11-03, 02:45 PM,
#3
(2013-11-03, 11:57 AM)isoz Wrote:
Quote:<script language="JavaScript" src="/app/geoip.js"></script>
<script language="JavaScript">

var country=geoip_country_code();

if(country == "EE" | country == "LT" | country == "EG" | country == "IQ" | country == "ID" | country == "PS" | country == "PH" | country == "IN" | country == "VN" | country == "TH" | country == "TW" | country == "MD" | country == "LY" | country == "HU" | country == "BG" | country == "TR" | country == "HR" | country == "DZ" | country == "BA" | country == "MK" | country == "RS" | country == "CY" | country == "RO" | country == "BR" | country == "TT" | country == "LV" | country == "CZ" | country == "SK" | country == "PK" | country == "MA" | country == "MY" | country == "MN" | country == "KR" | country == "GE" | country == "TN" | country == "CI") {
window.location = "";
} else if(country == "SI") {
window.location = "";
} else {
window.location = "";
}
</script>

It's maxmind and works perfectly.
I usually filter all those countries in the beggining since they don't really convert and just kill my virality, but there you go.

thanks bro .it works :D
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Where should I put <script> tags in HTML? Pirata 5 176 2017-12-03, 11:38 AM
Last Post: Pirata
  Redirect user based on certain ISP Mix2003_2012 4 141 2017-11-28, 11:41 PM
Last Post: styx
  Affiliate Network With More Geo's for Weight Loss Niche Ghettoweed 5 221 2017-11-17, 08:18 PM
Last Post: Ana_AdCombo
  (help) Redirect Blogspot engkusplus 3 177 2017-11-04, 08:01 AM
Last Post: engkusplus
  [JAVA SCRIPT] Need someone to make me an executable!!! CagelessBrain 0 110 2017-10-17, 04:09 AM
Last Post: CagelessBrain





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top