Here's how to check your listening activity settings on Apple Music:
On mobile: go to Settings > music > scroll down to "Use Listening History" and turn it on.
On desktop: Music > Settings > General tab > Use Listening History (2nd section)
The history might take 15 minutes to one hour to show up.