Comment on Apps doing year wrapped gives you a hint on how are you being tracked. There is probably a legal issue there somewhere like data retention.
If they did that it would be far too easy for people to boost listens and ratings with bots