An apparatus includes an occlusion device operable to fit securely in an anatomical passageway within a head of a human. The occlusion device is configured to move unitarily with the head when the occlusion device is installed in the anatomical passageway. The occlusion device is further configured to prevent passage of fluid through the anatomical passageway when the occlusion device is installed in the anatomical passageway. A position sensor is fixedly integrated into the occlusion device. The position sensor generates signals indicating a position of the occlusion device in three-dimensional space, thereby indicating the position of the head in three-dimensional space. A connector communicatively coupled to the position sensor is operable to receive and transmit the signals generated by the position sensor.