* fix navigation timings
This commit is contained in:
parent
de4411fbdd
commit
90dbb395bd
|
|
@ -303,11 +303,13 @@
|
|||
};
|
||||
|
||||
logger.debug("page load time: " + computed.frontEnd)
|
||||
context._.each(computed, function (key, value) {
|
||||
context._.each(computed, function (value, key) {
|
||||
if (value > 0 && value < 60000) {
|
||||
console.log("key, value", key, value)
|
||||
context.ga("send", "timing", "NavigationTiming", key, value);
|
||||
}
|
||||
})
|
||||
context.stats.write('web.timing.navigation', computed)
|
||||
}
|
||||
catch(e) {
|
||||
logger.error("loading times failed in ga.js", e)
|
||||
|
|
|
|||
Loading…
Reference in New Issue