1 Reply Latest reply on Oct 15, 2015 7:29 PM by joshd7227840

    Page Load Plugin

    jay_patel Level 1

      Hi,

      2 part question:

      1. Currently,  using s_getLoadTime() to get page load speeds, but when I'm looking at the raw value in my e.var I'm getting instances of negative values. Curious as to how this is possible or if anyone else has seen this?
        • function s_getLoadTime(){if(!window.s_loadT){var b=new Date().getTime(),o=window.performance?performance.timing:0,a=o?o.requestStart:window.inHe adTS||0;s_loadT=a?Math.round((b-a)/100):''}return s_loadT
      2. Would it be possible to filter out pages that are being loaded from the browser cache so they don’t skew the results. Any segments that anyone has created?

      Thanks!

      • 0. Re: Page Load Plugin
        joshd7227840 Level 4

        Assuming you implemented it correctly, the only thing I can think of offhand that could produce negative numbers is caching issue vs.visitors who are on the move and crossing over time zones in the process - something that's not entirely uncommon.  The reason this may affect it is because the plugin gets the time locally and most mobile devices automatically update their clock when moving to a new timezone.  

        As to filtering out cached pages.. afaik there is no way to do this "out-of-the-box" with Adobe Analytics, and there is nothing natively exposed to javascript to tell you this.  However, there are some tricks you can do to figure out whether or not the page was loaded from the cache. You can utilize this to set a prop or eVar and then create a segment based off that.