Wenn du Google Analytics einsetzt kannst du das auch alles per Event Tracker realisieren.
------------------------------------------------------------------------------------
<script type="text/javascript">
var plstart = new Date( );
window.onload = function( )
{
var plend = new Date( );
var plload = plend.getTime( ) - plstart.getTime( );
// Aussagekraeftige Bezeichner
if( plload < 1000 ) { lc = "Turbo < 1000 ms"; }
else if( plload < 2000 ) { lc = "Sehr schnell < 2.000 ms"; }
else if( plload < 3000 ) { lc = "schnell < 3.000 ms"; }
else if( plload < 4000 ) { lc = "Mittel < 4.000 ms"; }
else if( plload < 5000 ) { lc = "Mittel < 5.000 ms"; }
else if( plload < 6000 ) { lc = "Laaaaangsam < 6.000 ms"; }
else if( plload < 7000 ) { lc = "Laaaaangsam < 7.000 ms"; }
else { lc = "Schnarch > 8.000 ms"; }
var fn = document.location.pathname;
if( document.location.search ) { fn += document.location.search; }
try
{
_gaq.push(['_trackEvent', 'Ladezeit der Seite', lc + ' Ladezeit', fn, Math.round(plload/1000)]);
}
catch( err )
{}
}
</script>
------------------------------------------------------------------------------------
Damit wird die Ladezeit von jedem Besucher angezeigt. (Sind es keine neuen Besucher und wird die Seite aus dem Cache geladen wird es bis jetzt leider auch noch angezeigt)
Quelle:
https://seo-scout.org/page/10