Closed regisphilibert closed 2 years ago
very bad idea to not use async
very bad idea to not use async
Could you elaborate a bit more on this comment @budparr?
Perhaps I'm missing something about the loading of G4, but unless it's loaded async automatically, I would never load a blocking script (except for certain, typically rare instances).
After investigation I think the async template is obsolete, it seems the default is now async as well, that'S why it has been updated to support GA4 and not the async one which might be kept alive to avoid breaking changes
According to Hugo Doc, we should probably use
_internal/google_analytics
which supports G4.I have yet to understand the consequences of such a switch.