I wrote a very fast website that scored 99% on GTMetrix and PageSpeed Insights.
Then I added Google Analytics and Google Adsense to the site, adding the scripts to the head section, as advised by Google.
Subsequently PageSpeed Insights has reduced my score to 61, blaming slow and unused javascript.
It is saying things like "Third-party code blocked the main thread for 1,080 ms". (Why is it even blocking? It is marked as async..)
It's really absurd, and my website ranking has also tanked.
Can I fix this by putting the relevant code at the bottom instead of the top?