Show Your Blogger Visitor's Their IP Address on Your Blog
A free and simple JavaScript code to tell your visitors what their IP addresses and Host names are. The information is displayed to the users at your desired location on your Web pages. Before i proceed to the tutorial, i would like to explain the types of IP addresses this will help you to understand it better. There are two types of IP addresses IPv4 and IPv6.
Check out: How to Show Twitter Feeds in Blogger Posts
IPv4: stands for Internet Protocol version 4. It is the original standard set up for handling IP addresses when the Internet was initially developed by DARPA (Defense Advanced Research Projects Agency) in the early 1970s. IPv4 is the underlying technology that makes it possible for us to connect our devices to the web.
Read Also: How to Create Pop-Up Welcome Message for Blogger Visitors
IPv6: was developed in response to this situation. IPv6 allocates 128 bits to map the Internet address space. The number of bits was not just doubled, but instead quadrupled from IPv4's 32 bits to ensure that this address space would not run out anytime soon IPv6 is the sixth revision of the Internet Protocol and the successor to IPv4.
Pay Attention: How to Stop BlogSpot From Being Redirecting to Country Specific URL
Steps to Show Your Blogger Visitor's Their IP Address
- Go to your blogger Dashboard > Layouts
- Click Add a Gadget and select HTML/JavaScript
- Copy and paste the simple JavaScript code and and finally click Save button.
<script language="JavaScript"> VIH_BackColor = "palegreen"; VIH_ForeColor = "navy"; VIH_FontPix = "16"; VIH_DisplayFormat = "You are visiting from:<br>IP Address: %%IP%%<br>Host: %%HOST%%"; VIH_DisplayOnPage = "yes"; </script> <script language="JavaScript" src="//scripts.hashemian.com/js/visitorIPHOST.js.php"></script>
Now your Blog is ready to display your readers IP Address on your blog.
Comments
Post a Comment