Select Website 

Recruitment Directory's Blog - Australia's #1 Recruitment Technology Blog!

Back to Menu Back to Menu

You Are Here!

Posted By: Thomas Shaw, 1:58pm Monday 28 June 2010    Print Article

Soon, all browsers will support the HTML5 Geolocation API by default. Geolocation is the core function behind sites like Foursquare which can work out where you are located. I have previously talked about using Geolocation services used for sourcing or stalking candidates, but it does have some other uses in online recruitment.

Working out users location is not new or revolutionary. We have all been doing this for years via IP address lookup services (although these are never 100% accurate). But now, we can get the user to opt-in and provide more accurate information.

For example, when you visit a location-aware website your browser will ask you if you want to share your location.

If you agree, the browser gathers information about nearby wireless access points and your computerís IP address.

Then it sends this information to the default geolocation service provider (Google Location Services) to get an estimate of your location.

That location estimate is then shared with the requesting website script.

So how can we use this in online recruitment? We can use the userís geolocation data to confirm the users credentials while

Applying for a role. If the user is not located within a certain area, you could notify them that you only accept applications from users in the following locations. (I don't suggested this. See previous article on Rejecting Candidates based on IP Address)

Contact details. Work out which is the closest office to the user and serve up that information.

Security checks. Collect the users geolocation data when they register, login, buy job credits etc.

I have modified a simple HTML5 Geolocation API script first written by Michael Spector with some extra browser checks. Try it on your desktop browser and mobile phone to see the difference.
<html> <head> <script type="text/javascript"> if (navigator.geolocation) { alert("Your browser supports HTML5 Geolocation API"); navigator.geolocation.getCurrentPosition(function(position) { document.location.href = "" + position.coords.latitude + ",+" + position.coords.longitude + "+(You%20are%20here!)&iwloc=A&hl=en"; }); } else { alert("Your browser does not support the HTML5 Geolocation API"); } </script> </head> <body> <h1>HTML5 Geolocation API</h1> </body> </html>

Article URL:

Article Tags: geolocation html5 api location services candidate stalking google maps geolocation api foursquare security online recruitment

Comments Hide Comments (0)

Feel free to join in on the conversation. All comments are moderated before publishing. Comments posted by subscribers don't necessarily reflect the views of Recruitment Directory.

Your Name: * Required
Your Email Address: * Required
Website URL:
Comments: * Required
Enter the code you see in the image above (case sensitive). Click on the image to refresh it.

Back to Menu Back to Menu

Random Blog Articles

Was the NSW Government Job Board Hacked?
Published: 8:34pm Monday 26 January 2009

How much would you charge?
Published: 8:39pm Sunday 04 January 2009

5 tips to stop your recruitment database walking out the door
Published: 8:41am Thursday 24 March 2011

Protecting Your Business Brand and Employment Issues
Published: 7:28pm Thursday 15 January 2009

Online Marketing Ideas - Peel Away Ads
Published: 4:39pm Thursday 26 November 2009