Heap extracts location data using the geoip2-city database. Further, it parses the IP of the region or the country.