mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
track page load times
This commit is contained in:
parent
e806c17e8a
commit
1b975bd96f
3 changed files with 3 additions and 1 deletions
|
|
@ -36,6 +36,7 @@
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
_gaq.push( ['_setAccount', 'UA-214054-5']
|
_gaq.push( ['_setAccount', 'UA-214054-5']
|
||||||
, ['_trackPageview']
|
, ['_trackPageview']
|
||||||
|
, ['_trackPageLoadTime']
|
||||||
);
|
);
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
_gaq.push( ['_setAccount', 'UA-214054-5']
|
_gaq.push( ['_setAccount', 'UA-214054-5']
|
||||||
, ['_trackPageview']
|
, ['_trackPageview']
|
||||||
|
, ['_trackPageLoadTime']
|
||||||
);
|
);
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,8 @@
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
_gaq.push( ['_setAccount', 'UA-214054-5']
|
_gaq.push( ['_setAccount', 'UA-214054-5']
|
||||||
, ['_trackPageview']
|
, ['_trackPageview']
|
||||||
|
, ['_trackPageLoadTime']
|
||||||
);
|
);
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
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';
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue