Nearly all [UK] councils hand user tracking data to marketing companies
eandt.theiet.org
eandt.theiet.org
In some cases, councils turned their websites into revenue streams and thus were being paid to include adverts on their site that tracked users, browsing council content.
https://www.wokingham.gov.uk/births-deaths-and-marriages/dea...
All of this tracking by ad companies is overblown in some circles but most of the public don't really care, especially if it helps keeping their taxes down.