DTM pageload timings
Hello,
We are using a custom JavaScript inside AEM DTM to track the timings of the page loads.
The custom script uses the performance.timing objects and looks like this:
return performance.timing.loadEventEnd - performance.timing.navigationStart; The value is stored in a evar and prop (we tried both).
This works fine when we test it in the console (satellite debug enabled), but when we inspect the value delivered by the DTM custom script, we end up we a negative number, because the loadEventEnd is 0.
We tried different approaches with onLoad, domReady, ... page rules, all with the same result.
Any help is much appreciated!
Thanks.
