How to identify devices and browsers from registered users accessing to my website

682 Views Asked by At

I'm trying to develop a feature for my own website that detects the specific devices that are accessing to my page and from which browser are entering my registered users. Something similar to what the telecommunications companies do i.e. Orange in Europe or Netflix. For instance: enter image description here

For identifying the devices I tried to get the MAC of the user who is accessing to relate that MAC address to my user. But the only solutions that I found only work in Internet Explorer and allowing some features of that browser. For instance : https://programming.vip/docs/three-methods-for-js-to-obtain-client-ip-address-mac-and-host-name.html

In the second place, getting the browser seems easier with property user-agent (Javascript and PHP) and only in Javascript with Navigator feature. But I don't know if it's the best solution out there.

Thanks in advance.

0

There are 0 best solutions below