Recently, I was browsing through Reddit and found a site which is definitely using WordPress but is somehow loading Google Analytics from js-deliver.
I checked js-deliver for Analytics code but can't find it over there.
What I am trying to achieve.
I am trying to replicate this site's functionality. ( Please check the source code of / ) {footer area}
Tools.pingdom shows that Google analytics take more than 500-milliseconds to load and then analytics loads a few additional resources. Totally it accounts for 700+ milliseconds on my site.
This site is somehow loading analytics within 51-milliseconds and maybe 100 more for other resources.
See the image attached below.
I am trying to get better page speed scores and as of now I am loading analytics on my site's head section and my site's grades are 72 for mobile and 90 for the desktop.
This site is loading analytics but still has 100% score on Mobile and Desktop.
I already tried to copy and paste the code and checked Analytics test visit but it doesn't seem to work for me.
I can't find any plugin, free or premium which can do this for me. I tried WordPress support but no one seems to be interested in this.
Can you guys please help me.