Social media platforms have been using these techniques for behavioral tracking & targeted advertising for some time now.