Ease of race logistics - Parking, shuttles, early start times, need for lodging
Beauty of the course/race destination
The Race Management Company - Has a good reputation, is local and/or you have raced with them before.
Race amenities - Medals, t-shirts, goody bags, free photos, age group awards, post race food
Friends are running the race......