Add analytics for routing errors