Record the event type.