Hacker News new | ask | show | jobs
by mtufekyapan 4375 days ago
Your product is impressive but I think you can do with this product much more valuable things.

For example, I want to specialize my landing page depends on visitors location. For example I want to change if user comes from US H1 and H2 message. Can you build something makes this possible?

1 comments

You can absolutely customize your LP depending on the user's location by using http://ipinfo.io, eg:

  $.get("http://ipinfo.io", function (response) {
      if(response.country == "US") display_us_message();
      else if(response.country == "TR") display_turkey_message();
      else display_generic_message();
  }, "jsonp");
I'll send you a mail to see if you're proposing something else.