ClientInfo is a JavaScript module that retrieves client information using the device's IP address and/or the geolocation API.
Paste this into the of your html file:
<script src="https://cdn.jsdelivr.net/gh/ElliottStorey/client-info@master/client-info.min.js"></script>let success = (clientInfo) => {
console.log(clientInfo)
}
let error = (error) => {
console.log(error)
}
let clientInfo = getClientInfo(success, error);