Get geolocation code out of the view pages