[help] a redirecting question :(

by 4 replies
5
hey everybody, im in desperate need of help
i just wanted to ask how to redirect affiliates.

Long story short,
affiliate link = game pay per lead (converts: US, CA, UK) or else goto survey.
how can i create a link?, that does this:
link = (if US, CA, UK go to affiliate) or else go to thenameofgame.com

why:
i wanna provide a link where everybody will go to the same destination.
if consumer is from targeted audience, he goes through my affiliate link.
if not, it's ok. mantain a clear name at least :/


More Detailed example:


Let's say Ubibroft creates a game: Watch docs
Ubibroft pays affiliates 1.25€ per lead from UK US CA.
i get my "Warrioraffiliate link" which is:
i say to my Youfube channel:
Guys play Watch docs, it's cool! click here:
(-yes i will cloak that xD)
Player from UK clicks, signs up! all good!
Player from DE clicks, see's a survey ad.. leaves.. hates me.. etc :/

How can i create a link that will do this:
Player from UK clicks, gets redirected to
Player from DE clicks, gets redirected to
So that both are satisfied?

Thanks for any answer in advance,
I hope there's somebody out there who can help me..!
Cheers, Skyscreamer

#programming #question #redirecting
  • Use GeoIP to determine the users location ( freegeoip.net: FREE IP Geolocation Web Service - possibly useful resource).

    From there it should be pretty straight forward.
    • [1] reply
    • yah this looks like it would do the trick, thanks
      can you please assist me a bit further?
      i dont really get how to do the whole process there :/
      • [1] reply
  • You would need ip to country database for finding real location of your visitors and then you can redirect as per your need and as per the language you are using

Next Topics on Trending Feed