I think if you look at the stat block, there is a line marked SA and a line marked SQ.
Wild Shape itself gives you the SA.
With the spell, you also gain the (Ex) abilities in the SQ line. For animals, these are generally sensory (Scent, Blindsight, etc.) but can include defensive abilities...