# Geofence attendance

Limit attendance check-ins and check-outs to approved locations using fresh, accurate device positions.

Enable the **Geofence Attendance** add-on and grant **Manage attendance geofences** to the people maintaining sites. A geofence is a circular area around an office, warehouse or customer location. It is used by an attendance policy; adding a site alone does not restrict attendance.

## Create a site

1. Open **Attendance → Geofences → Add geofence**.
2. Give it a name employees recognize, as refusal messages use that name.
3. Place the centre using address search, the map, a dragged pin, your current location or coordinates.
4. Set a radius between 20 and 10,000 metres, allowing for the building and realistic GPS uncertainty.
5. Optionally link a **Work location**, then save.

Use the **Map** tab to review all sites. Address search requires the maps configuration described in [Configure and initialize](https://czappstudio.com/ar/docs/installation/configuration); map placement still works without address search.

## Apply an attendance policy

In [attendance policies](https://czappstudio.com/ar/docs/administration/attendance), add **Inside a geofence** to an allowed alternative. Select specific geofences, or **Geofences at the employee's work location**. For the latter, employees need an active geofence linked to their work location; give other employees an appropriate policy alternative.

Set **Maximum GPS uncertainty** and **Maximum location age** to reject imprecise or stale positions. Simulated locations are refused. Test the policy with real devices at the location before assigning it broadly, especially indoors where GPS can be less accurate.

Policies can combine this check with [Office network attendance](https://czappstudio.com/ar/docs/modules/office-network-attendance) or [Selfie attendance](https://czappstudio.com/ar/docs/modules/selfie-attendance). Review whether you intend checks to apply together or as alternatives.

## Maintain and troubleshoot

An attendance session keeps the geofences that applied when it started; editing a site affects later check-ins. Remove a geofence from policies before deactivating or deleting it.

Refused attempts appear in attendance review with the reported position and distance outside the nearest site. Check permissions, location freshness and GPS accuracy before moving the boundary. A geofence uses device location evidence; it is not a replacement for reviewing suspicious attendance.
