Google Analytics Asynchronous


I understand a way to speed up page loading or rendition is by requesting asynchronously loading so those resources that load later are not blocked. No sure where or how to make changes in the code to make this happen.

I made a search and the following changes recommended at least for Google Search Engine

I don't think you can defer this script since the 'defer' and 'async' attributes only apply to external scripts (I.e. scripts with a 'src' attribute). You can place it in the footer so it's executed last by using a hook.