We are looking to implement tracking for page load time through Adobe Analytics using the getLoadTime plugin. Because the free version of Google Analytics only gives the page load time for a sample size number of pages i.e. avg. page load time is 1.20 seconds based on the 25% of your site pages that were sampled. We want to avoid upgrading to Google Analytics Premium.
Will the getLoadTime plugin capture every single page load time on every page for every instance? Basically, we want to see the page load time for all pages on the site versus just a sample size.
It isn't sampled, but the plug-in should be associated with the previous page view. That means you won't be getting data for the last page view of the visit and therefore also won't be getting data on single page visits.
Jon Narong - If I do already have the previous page plugin implemented, this should be captured, correct assuming I add the getLoadTime plugin? We currently use the previous page plugin in association with the getPercentPageViewed plugin and it seems like even if a user is a single page visit, we are still capturing that one page. In fact, we have a custom report built out specifically for that.
Additionally, even if it does not capture single page visits, this would still ideally give us better insight into page load time across the site vs. GA sampling only 25% of the pages, etc. Single page visits make up a very small portion of our overall visits to the site. I appreciate the feedback.
The call to s_getLoadTime() would happen on every page and therefore would get stored for every page and not be sampled.
One thing that I don't quite agree with from above is that this shows the previous page's performance. The window.performance.timing data (which the plugin uses) is based on the current page's information, which is why multiple calls to s_getLoadTime are needed throughout the page load. Unless manually stored in a cookie and read on the next page this shows the timing information for the current page.
Here is the article describing implementation in depth:
Typically Adobe is pretty good at explaining the need for the getPreviousValue for compatibility with other plugins.
Hope this helps.