Hello all,
first a great warm thanks to Matomo. The beast is really nicely handlable and shows useful information, at least once the refresh-rate (aka the archiving data frequency) is minimized.
I have introduced a new site, our dev site, and I have switched to dynamic calls to trackPageView
: Every time a panel is loaded, that is a new call. So far so good.
However, I realize that I can’t use the performance tool for this: The performance tool is designed to evaluate dom-load-stages which are not there if the knowledge of the new page is just the end of the process.
(btw: my progressive/SPAs are not necessarily network-less or super fast)
So, as a crutch. I could add some performance measurement of the AJAX-like calls, as a custom dimension and I could have some overall report of these values.
But wouldn’t there be a better practice into being able to send track-events for each of the dom-load-steps that are displayed by the performance tab?
E.g. kicked-request, content-arrived, content-displayed? There must be some place I could call to in the matomo JS to simulate this, or?
After all, the “click, load, finished-load, display” cycle is quite the same in an SPA, a PWA, and a simple page.
thanks in advance.
Paul