Permalink
Browse files

add page load time tracking to google analytics

  • Loading branch information...
1 parent 2a781d8 commit 849e5a8a6ee94b21f2c0bffef42c837de4595bb2 @zsol committed Jun 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/app.yml
View
@@ -81,7 +81,7 @@ all:
google_analytics:
code: >
<script type="text/javascript">
- var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-21863810-1']); _gaq.push(['_setDomainName', '.cupapp.com']); _gaq.push(['_trackPageview']);
+ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-21863810-1']); _gaq.push(['_setDomainName', '.cupapp.com']); _gaq.push(['_trackPageview']); _gaq.push(['_trackPageLoadTime']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

0 comments on commit 849e5a8

Please sign in to comment.