revolunet / angular-google-analytics

Google Analytics tracking for your AngularJS apps
MIT License
652 stars 179 forks source link

Site Speed #213

Open matthieudesprez opened 6 years ago

matthieudesprez commented 6 years ago

Using angular-google-analytics, in Google Analytics Behavior > Site Speed, all the data relative to response time, like avgDomInteractiveTime, is set to 0 :

image

Does anyone know how can I achieve to get informations about site speed ?

mwq27 commented 6 years ago

i believe for that data you'll need to use the trackTimings method. https://developers.google.com/analytics/devguides/collection/analyticsjs/user-timings I'm actually setting this up currently. I haven't been able to get the timing event to fire yet, so i'm trying to debug that.

Hopefully this helps

matthieudesprez commented 6 years ago

Thanks for your return.

I'm not able to try it at the moment, but it seems that the best solution would be indeed to handle it manually.