Debians popcon (Popularity Contest) which tracked package installs was always opt-in as far as I can remember.
Ubuntu sent Unity dash searches to the web (with an opt-out) for a few releases, but that is back to opt-in now thankfully. As far as I know Ubuntu never tracked any other web traffic.