How to preconnect or prefetch google analytics

Thank you for your reply. I tried adding it however I guess I was under the misconception that it would reduce dns look up time.

As it did not make an improvement I removed the preconnect code.