Neil Patel wrote:

Every interaction a visitor has with your website… a pageview, a click… can be used to better understand your audience

And when you understand your audience you can target them in a smarter way, and get more bang for your buck from your paid campaigns on Facebook and Google.

Both Facebook and Google refer to these user interactions as Events. They allow you to track them using a tracking code installed on your website.