Yeah I am old enough to remember setting up various analytics tools in early 2000s. Most people ran them on subdomains but some ran them in on same domain. Also we had tons of server-side tools like webalyzer.
It wasn't until that data became intricate user interactions that were bought and sold, did we worry.
edit: So I guess that gets to where my surprise comes from. I expect first parties to gather all kinds of info about how I use their service. It's even fine. I literally signed up for it.
The next step is to examine the TOS (in this case: Reddit) and see what I agreed they're allowed to then do with that data. ie. sell it so others can sell to me.
Honestly a lot of analytics for an app can be done serverside and client side is just icing on the cake to make the data richer.