If you have an account on Facebook, with Google, with Microsoft, on Amazon, or anywhere else, they are logging your activity - particularly what you search for. Not really because they care about what you're doing, but so they can sell advertisements that are targeted to you. That is the price we pay for the "free" service they offer. Deleting your cookies is OK, but if you are logged in to any of those sites, then they are tracking you while you're logged in, and deleting your cookies before or afterward doesn't really do much.
I have mixed feeling about, personally. On one hand, I understand the services they provide cost them money, yet they are offered for "free" to me. I don't have to pay to be on Facebook. I don't pay for Google searches (and how useful would the web be without search engines like Google) or Gmail or YouTube or Blogger or Google Docs. So if they want to take the information I give them so they can try to serve me with ads they think will be more effective which I end up just ignoring anyway, then what is the harm?
On the other hand, I don't know exactly what info they have on me and how they might be using it beyond targeted advertisements. And that is what I don't like. Google has a page that supposedly will tell you everything they have recorded about you (
https://www.google.com/dashboard/ and sign in with your Google account). But how do I know that is complete? And it tells me nothing about WHAT they actually DO with that information.
I do take some precautions. One of my favorite things about the NoScript plugin for FireFox is that I can block Google-analytics. That is a tool for web developers to keep stats on their visitors - things like what country they are in, what browser and operating system they have, etc. Very useful for web developers and they have no way to link those stats to any specific person, but Google itself does (if you're logged in to a Google account such as for Gmail). Google can keep a record of the web sites you visit. So I block it. I also block advertisement sites like doubleclick.net that can also track your web activity.
And even beyond places like Google and Amazon, your internet service provider knows a lot more about you. They have a record of every site you visit. They have to by law. They may not do anything with that information other than respond to copyright infringement notices (if you're caught illegally downloading music or movies by the people that are tracking the sites that offer that copyrighted content) or give it to the government if they come knocking with a warrant for whatever reason. But, they still have the information. AND it is associated with your name, address, and phone number.
The fact of the matter is, anything you do on the internet can become public. There is no privacy online.