If you've followed the above and managed to get the IP addresses of users online, here's an easy way of getting more data about them.
It'll show country name and country flag, which if you click, it'll toggle more info
I've only tested with a light number of users online. Not sure how it'll perform with hundreds.
Updated 27/3/19 to display warning on Firefox