Geofencing
Also known as: geofence, geofenced clock-in, location-based clock-in, virtual boundary
Geofencing is a virtual boundary drawn around a real place, usually a point on a map with a circle around it. In time tracking, a clock-in is accepted, or marked as away, depending on whether the person is within a set distance of the workplace.
A geofence is a line nobody can see. A device works out where it is, the software compares that with a point and a distance set in advance, and it acts on the answer: inside or outside. Delivery apps, smart-home systems and phone reminders all work this way. In time tracking, geofencing answers one narrow question: was this person at the workplace when they started or finished work? That matters most for teams that work on site, such as shops, clinics, warehouses, building sites and offices with a front desk, where people are paid for being there. Used well, it is a light check made at the moment of clocking in. Used badly, it turns into watching people all day, which is a different thing with different rules.
How geofencing works
- A place is set as a pin on a map, with a circle of a chosen size around it (the radius)
- When the person acts, for example by clocking in, the device reads its location from satellite positioning, nearby Wi-Fi networks or the mobile network
- Every reading comes with an accuracy figure: the device's own estimate of how far off it could be
- The software compares the distance to the pin with the radius, ideally allowing for that accuracy, and records the result
Accuracy is the part people underestimate. Outdoors with a clear view of the sky, a phone is often accurate to a few metres. Inside a building, in a basement or between tall buildings, the reading can drift much further, and a laptop with no satellite receiver may only know roughly where it is. That is why a circle that looks generous on a map is often the right size in practice.
What it is good for, and what it is not
- Good for: confirming that people who should be on site were on site when they clocked in
- Good for: catching honest mistakes, such as clocking in from home before leaving for work
- Good for: making it harder to clock in for a colleague who is not there (see buddy punching)
- Not good for: proving presence beyond doubt. A determined person can fake a device's location with tools that are easy to find
- Not good for: remote or travelling roles, where there is no single place to check against
- Not good for: telling one room or one floor from another. Indoor readings are too rough for that
Where presence matters a lot, geofencing works best with a second check that is hard to fake from a distance, such as a code shown on a screen at the workplace.
Privacy and data protection
A location check at clock-in and clock-out reads the device's position at two moments of the day. Continuous tracking reads it all day, including breaks and the trip home. The two feel very different to the people on the receiving end, and many data-protection laws treat them differently too.
- Tell people before you turn it on: what is checked, when, what is kept and who sees it
- Have a clear purpose, such as confirming attendance on site, and use the data only for that
- Keep as little as the purpose needs. A distance and a result usually say enough, and the exact position is rarely needed
- Decide how long the records are kept and who can see them
- Check the rules where your people work. Many data-protection laws expect a stated purpose and no more data than needed, and some places also expect you to consult employee representatives
How HourSquare does it
In HourSquare the feature is called Clock-in location, under Settings, Workplaces. Each workplace gets a pin and a circle, from 50 to 5,000 metres and 150 metres by default, and one of three rules:
- Off: people clock in from anywhere, as before. Every workplace starts here, so nothing changes until an admin turns it on
- Record: people clock in from anywhere, and each entry shows whether they were at the workplace
- Require: people can clock in only inside the circle. Clock-out is never refused
The Hub reads the device's location once when someone clocks in or out, after the browser asks for permission the first time. There is no tracking in between. The server works out the distance to the pin and keeps the distance, rounded to 10 metres, the reading's accuracy and the result. The position itself is not kept. A person counts as inside when the distance minus the reading's accuracy is within the circle, so a rough indoor reading does not count against them. For a stronger check, a workplace can also ask for an on-site code shown on a screen there.