Analytics
1.6K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Why page Load time 0 for most of the pages ?

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We are using google analytics in our application and getting strange results when tracking page load time. The data for most of the pages is 0 while few pages have the values. Now if we compare these pages with our qa sites , page load time has a value. 

Nothing has changed on these pages except that we have a different tracking code for production and the urls are available publicly.

 

 

<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', "my-ggogle-analytics-code", 'auto');
ga('send', 'pageview', {'page': (location.pathname+location.search+location.hash)});
</script>