el canadiano
Active member
I was hoping to add the _trackPageLoadTime extension to track my forum's speed, how would I get around to that? Here's an example of how it's used in the new code.
I was wondering if there's an edit on XenForo that could do this. Help would be certainly appreciated.
HTML:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-X']);
_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);
})();
</script>
I was wondering if there's an edit on XenForo that could do this. Help would be certainly appreciated.