Page Load times and SPAs

156 views
Skip to first unread message

Carl Stephenson

unread,
Nov 8, 2015, 6:57:12 PM11/8/15
to google-analytics-analyticsjs
Hi All,

We've got a number of SPAs running and am getting the majority of GA data to work correctly, however page load times are all over the place and clearly not being collected properly.  

Are there any specific tricks to get this working within a SPA? 

Cheers,
Carl

Philip Walton

unread,
Nov 9, 2015, 12:18:22 AM11/9/15
to Carl Stephenson, google-analytics-analyticsjs
How do you know they're not being collect correctly?

--
You received this message because you are subscribed to the Google Groups "google-analytics-analyticsjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-ana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-analytics-analyticsjs/945924b6-21bc-4d9a-adf3-e53943ed3dd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Carl

unread,
Nov 10, 2015, 5:20:54 AM11/10/15
to Philip Walton, google-analytics-analyticsjs
Hi Philip,

The load times for some of the URLs in the SPA are showing as 0 seconds

Thanks,
Sent from my iPhone

Philip Walton

unread,
Nov 10, 2015, 4:01:15 PM11/10/15
to Carl, google-analytics-analyticsjs
Interesting. I'm not entirely sure why the results would be 0, but keep in mind that the page timing hits are sent at page load only.

In the context of an SPA, that means if a particular page is never the page a user visits at page load time, it'll never have a timing hit associated with it.

It's possible that's why some pages are showing up as zero in your reports (just a guess).

Reply all
Reply to author
Forward
0 new messages