Trace the ip and the location of your website visitors with the help of plain javascript and the Cloudflare trace endpoint (https://www.cloudflare.com/cdn-cgi/trace)
The flags used in demo are getting retrieved from the Cloud Flags API (https://www.countryflags.io/)