Having external js makes your page load slow.
On top of that, in Europe it is mandatory to have a cookie banner if your website uses tools like Google Analytics.
Today I modified one of my sideprojects (vabiso.com) removing the cookie banner and the google js.
I replaced it with the cloudflare statistics js.
Cloudflare has minimalistic stats, but for my project they are enough.
The result was almost a 20-point difference!