You can link them with a browser extension with: Last.fm.
Example: O_Breda’s Music Profile | Last.fm.
Last.fm will give you all kinds of statistics about what music you like.
You can connect Last.fm with programs like VLC, WinAmp, with services like Spotify, you can add browser addons to monitor websites like YouTube.
Details on this: Track My Music | Last.fm.Share on WhatsApp