While more and more government services are moved online, tracking has also become widespread on the web. Many websites use third party services, which often lets those services track and collect data from visitors. How much third-party web tracking is used on government websites? In the present research, that question was answered in a Swedish context through an automated analysis of 575 Swedish government websites. It was also investigated why third-party web tracking is used on Swedish government websites, and what can be done by these websites in order to decrease the usage of such third parties. This was achieved through interviews with six experts in privacy and security, and later with nine representatives from seven government organizations. The website analysis showed that Google --- this includes Google Analytics, Google Fonts, YouTube, etc. --- was found on just below 30% of websites. Piwik Pro was found on just above, and rek.ai just below, 25%. Some of the reasons for using third-party web tracking on Swedish government websites was the convenience compared to using self-hosted alternatives, that certain accessibility tools are required by law, and that certain tools are provided by the hosting providers or CMS. Some of the recommendations on how to reduce third-party web tracking on government websites was found to be to self-host fonts and analytics, to minimize data collection, and to limit data retention.