Switching search engines seems pointless as they all have the same business model (maybe duckduckgo is different), but blocking all the tracking and analytics stuff solves this problem.
Facebook isn't a huge problem for me either. I basically use it in read only mode, blocking them on all third party sites.