@neil Maybe have a look at how the Tor Metrics tools do what they do?
@neil made an effort to self-host it as as way to defuse pressure to go all-in on google's advertising ecosystem, and retain some analytics capabilities while honoring Do Not Track, at a job a few years back.
ultimately i think it'd be fine for getting a view into web traffic, but what marketing people want isn't that. they want the surveillance with the market segmentation, remarketing, etc., that comes with the adtech panopticon stuff.
(i quit the job.)