It is the only thing that's prevented by Apple, and the rest lies on the developer.
It is the major visible prevention method.
App developers who track anyway live in fear of Apple finding out and executing its nuclear option: banning them from the App Store.
Smart companies don't risk $10,000,000 in app revenue in order to sell $10,000 in user data.