need code to target browser and country

Started on the old forum in May 2013 · view the original in the archive · old links redirect here

3 replies · 475 views · started 13 years ago · 1 min read

3 participants
laro696 Developer · 205 posts #1

Let me try to explain:

I want a code I can put in my header and footer where I can show text and image links.

If a user from india with a nokia browses, it shows a specific ad.
If a user from usa with iphone browses, it shows something else.

So I want to be able to pick what text/image link someone from usa with iphone sees, what someone from usa with android sees etc.

Also, must be able to pick up to 10 different links per browser/country combination.

Post your price and let me know if you need more clarification.


Ok I found an example of what I am looking for. Check http://adsenator.com But don't need such an advanced script

z0n3 Newbie · 8 posts #2

You need country based targeting code.I can do ur job in cheap. pm me 🙂

kevk3v Senior · 332 posts #3

I found a really cool service for this... http://www.geoplugin.net/json.gp?ip=101.83.224.135 JSON Response

{
  "geoplugin_request":"101.83.224.135",
  "geoplugin_status":200,
  "geoplugin_credit":"Some of the returned data includes GeoLite data created by MaxMind, available from <a href=\\'http:\/\/www.maxmind.com\\'>http:\/\/www.maxmind.com<\/a>.",
  "geoplugin_city":"Shanghai",
  "geoplugin_region":"Shanghai",
  "geoplugin_areaCode":"0",
  "geoplugin_dmaCode":"0",
  "geoplugin_countryCode":"CN",
  "geoplugin_countryName":"China",
  "geoplugin_continentCode":"AS",
  "geoplugin_latitude":"31.045601",
  "geoplugin_longitude":"121.399696",
  "geoplugin_regionCode":"23",
  "geoplugin_regionName":"Shanghai",
  "geoplugin_currencyCode":"CNY",
  "geoplugin_currencySymbol":"元",
  "geoplugin_currencySymbol_UTF8":"\u5143",
  "geoplugin_currencyConverter":6.1456
}

Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

laro696 Developer · 205 posts #4

Staff please close the topic, got what I want 🙂

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close