Welcome, Guest
Username: Password: Remember me

TOPIC: Matching IP-address to location

Matching IP-address to location 1 year 10 months ago #85358

  • ElToro1966
  • ElToro1966's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
We want to be able to match IP-addresses gathered in surveys to specific locations (County, city, and / or state) and generate reports based on those locations. Are there any plugins / scripts available for LimeSurvey that can help us do this?

Thanks. :)
The administrator has disabled public write access.

Re: Matching IP-address to location 1 year 10 months ago #85361

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2549
  • Thank you received: 285
  • Karma: 102
The tag words should be "geo location" or "geo targeting". There should be lists that can match (to a certain extent - in some cases ISPs are not very exact in this) IPs to locations. Most of them you probably will have to pay for.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: Matching IP-address to location 1 year 10 months ago #85439

You need the IP to country mapping info to get your result. If you are looking for free mapping service, below are a few link you may consider:

1. www.ipinfodb.com
2. www.fraudlabs.com (free license)

if you are looking for more accurate data, i will recommend: www.ip2location.com
The administrator has disabled public write access.

Re: Matching IP-address to location 1 year 10 months ago #85458

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6205
  • Thank you received: 787
  • Karma: 238
Yep and for ipinfodb, you have sole javascript example (with ip2country lite)
www.ipinfodb.com/ip_location_api_json.php

You can use your own database (dowload one here : www.maxmind.com/app/geoip_country) or some php script github.com/maxmind/geoip-api-php .

And make an ajax call to fill a question with country from $_SERVER.

Denis
The administrator has disabled public write access.

Re: Matching IP-address to location 1 year 10 months ago #85480

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
...and if someone manages to create a nice plugin for Limesurvey (2.x), please get back in touch with us :-)

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Matching IP-address to location 1 year 10 months ago #85693

  • ElToro1966
  • ElToro1966's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Thanks a bunch, guys. Really appreciate the feedback :)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.178 seconds
Donation Image