Currently, the DoNotTrack preference is global to the analytics instance. We have an interest by upper level management to track ecommerce via Matomo; however, if this setting is turned on (to respect users' wish not to be tracked), then the Ecommerce module won't track certain customers. This creates discrepancies between Matomo ecommerce numbers and our internal numbers, leading to a distrust of every statistic out of Matomo.
For the sake of better privacy for the remainder of our sites, we would like if DoNotTrack were more granular, so we could continue to track Ecommerce goals via analytics, while not tracking usage patterns of customers, if they prefer not to be tracked. Furthermore, it would also be helpful if this could be turned on and off per-site, instead of a single global setting.
Thanks for creating this issue @tilghman closing this one as a duplicate considering there are similar issues created yet already. Also you can otherwise instead of the server side DNT feature make use of the DNT feature in the tracking client by calling
_paq.push(['setDoNotTrack']) to workaround most of the issues.