I want to collect basic user information when they land on an index page, such as:
IP
Country
City
State
Zip Code
I've looked into sites such as ipinfo.io that offer a service regarding these details, but think it may be easier to collect the same info via PHP. From some sample PHP code I've looked at, it seems easy and possible.
My question is what would generally be a better option: PHP or using a service (the service limits the amount of hits processed per day, 10,000, so that is a consideration)?
I am just looking for advice on this at this point, the best options to consider, and possible issues regarding this before I attempt to implement this.
Thanks in advance!