I set it for apps that need it as that is their function to ‘ONLY when app is open’.
If a network really wanted to track you there are multiple ways to do so backside without a smartphones direct help. Simply keeping WiFi on all of the time creates tons of data mining.
Keeping it only ‘only when needed’ prevents more widespread exploitation.
I get UCE spam merely by walking inside a store.