settings for privacy

Settings -> Groups, Companies & Companies and applications
Manage settings for Linkedin plugins on third party sites
Uncheck Yes, allow Linkedin to receive information about my visits to pages that use Linkedin plugins.

Data sharing with third-party applications
Uncheck Yes, share my data with third party applications.

Settings -> Profile -> Privacy Controls
Turn off your activity broadcasts
Uncheck Let people know when you change your profile, make recommendations or follow companies
Who can see your activity feed
Change this to Only you.
What others see when you’ve viewed their profile
Change this to You will be totally anonymous

Select who can see your connections
Change this to “only you” if you do not want others to see your connections

Settings -> Account -> Privacy Control -> Manage Advertising Preferences to block from serving you ads.
Account -> Manage Security Settings should be changed to use https browsing for