Tracking events within a geofence