How To Show Your Visitors Their Location And IP Address On Your Blog Or Website

Have you noticed that I have some information about you, got surprised?

Don’t be it is not hard to do so. It is done with the little help of JavaScript and also with the help IP2Phrase which is powered by IP2Location.

If you also want to surprise your visitors simply add the below code into your blog or website. if you want to show your custom message then just change the content between template= and “></script>.

<script language="Javascript" src=" you for visiting this website from <CITY>, <REGION>, <COUNTRYSHORT> using <ISP>'s ISP, your current IP Address is <IP> and I know this <FLAG> is your country flag."></script>

And place keywords to show visitors information in your custom message, as I have used in above code.

Keyword Definition
IP address of visitor
Full country name of visitor
2-digit country name of visitor
State or region of visitor
City of visitor
Internet service provider (ISP) of visitor
Flag of country

In case if you don’t want to text then you can also show it in two different size of image and iframe format.

200×160 square image

<a target="_blank" href=""><img src="" border="0" width="400" height="80" /></a>

400×80 horizontal image

<a target="_blank" href=""><img src="" border="0" width="200" height="160" /></a>

200×160 square iframe

<iframe src="" width="204" height="162" marginwidth="1" scrolling="no" frameborder="0"></iframe>

400×80 horizontal iframe

<iframe src="" width="404" height="86" marginwidth="1" scrolling="no" frameborder="0"></iframe>