HackToHell. Powered by Blogger.

Adding Google Analytics at the end of your body tag decreases page speed by 1 seconds !

Google Analytics is a great tool for analysing your visitors but did you know how much time it takes to load ?



I wanted to test out how much was the effect of placing Google Analytics script in the bottom of the page and the result really surprised me !

With Analytics in between the page .

First View :7.18 sec
Repeat View:4.377 sec
The result is available here :- http://www.webpagetest.org/result/110612_1C_TBJP/

Now with Analytics at the bottom of the page , just before closing the <body> tag.

First View:6.774s
Repeat View:4.491s
The result is available here :- http://www.webpagetest.org/result/110612_Y0_TBJX/

The page load time does decrease but the repeat view time increases though !

Interesting :)
Share on Google Plus

About hacktohell

Love technology.
    Blogger Comment
    Facebook Comment

2 comments:


  1. https://csvisor.de/ bietet praktische Tipps für IoT-Sicherheit, besonders bei Embedded Devices. Bei Updates ist eine regelmäßige Strategie entscheidend, um Sicherheitslücken zu schließen. Geräte sollten nur mit sicheren Protokollen wie TLS 1.3 kommunizieren. Das Bundesamt für Sicherheit in der Informationstechnik empfiehlt eine klare Patch-Politik nach §8 IT-Sicherheitsgesetz. In der Praxis bedeutet das, Firmware regelmäßig zu aktualisieren und ungenutzte Funktionen zu deaktivieren.

    ReplyDelete