Privacy and freedom are two things no one can compromise for anything. From anonymous web browsing using VPN or proxy servers to anonymous electronic transactions via cryptocurrencies, online freedom is the biggest quest of internet users today.
What is IP address?
IP address stands for Internet Protocol address which is a unique string of numbers separated by full stops that identifies each computer using the Internet Protocol to communicate over a distributed network.
IP address is a unique numerical address assigned to your computer by your Internet Service Provider (ISP). Every computer connected to internet has a unique IP and its internet activity can easily be tacked through its IP address.
At present you can easily retrieve useful client IP addresses using WebRTC that is supported by browsers such as Firefox, Chrome and Opera. But to fetch full details of a user’s IP address there are tons of free services that provide a public HTTP API.
These APIs uses a database of IP addresses that are associated to cities along with other relevant information like time zone, region, zip Code, latitude and longitude.
How To Show Site Visitor IP address and Geolocation?
Liked it? Let’s learn how to add this cool JS tool to your blogger blog or wordpress blog to show visitors data in real time.
You can show this IP table anywhere you want, may it be your blog post, a static page or blog sidebar.
- Copy the code below and paste it inside the HTML editor of your blog theme or blog editor Loading your location details, please wait.........
Your Public IP '+myip.ip+' Country Code '+myip.country_code+' Country '+myip.country_name+' Region '+myip.region_name+' City '+myip.city+' Region Code '+myip.region_code+' Zip Code '+myip.zip_code+' Time Zone '+myip.time_zone+' Latitude '+myip.latitude+' '; Longitude '+myip.longitude+'
xmlhttp.open("GET", "https://freegeoip.net/json/", true);
- Save your theme and you are all done!
Feel free to use it in your development projects or apps. Do share your queries or feedback in the comment box below.
Stay tuned for our biggest research paper on anonymous peer-to-peer electronic currencies i.e. Bitcoin on our coming posts. A lot of exciting tutorials are on its way. :)