This setting is opt out, not opt-in. It's unclear if opting out hides the data from Apple or just from the app developers.
It is opt-in now; when setting up iOS for the first time it asks you if you'd like to enable "iPhone analytics" (OS-wide analytics for Apple) and if you accept then it asks you whether you want to share the analytical data with the app developers.