Before gonioscopy, the eye is typically anesthetized, and a coupling agent is applied to the cornea for better optical clarity.