In ice hockey, a shot on goal is a shot that directs the puck towards the net and either goes into the net for a goal or is stopped by the goaltender for a save.
Additionally, if a goaltender stops a puck that is going wide or high anyway, it is recorded as a 'missed shot'.
Since it is not counted as a shot on goal, the goaltender does not get credit for a save.
If a clearing attempt from the other team ends up on net it should be a shot on goal.
If someone swats at a rebound and sends it toward the net it should be a shot on goal.