This is true, I just checked. It's even worse than I thought then.
Online tracking explained
If you're not logged into FB or Google though, they can't possibly figure who is browsing at the time though, on shared machines where more than one person uses Facebook or Google?