Page Load Plugin

Avatar

Avatar
Validate 1
Level 1
jay_patel
Level 1

Likes

2 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
jay_patel
Level 1

Likes

2 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
jay_patel
Level 1

15-10-2015

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.inHeadTS||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!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
joshd7227840
MVP

Likes

275 likes

Total Posts

241 posts

Correct reply

70 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
MVP
joshd7227840
MVP

Likes

275 likes

Total Posts

241 posts

Correct reply

70 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joshd7227840
MVP

15-10-2015

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. 

Answers (0)