in our case, we have disabled tracking of base pages (we have single page application in React, and I've learned that they would duplicate the hits for the virtualPages) ..
what should I set into the parent then? the old VirtualPage, which might/might not be already 'ended and reported'? or should I create new VirtualPage? but that would probably create new vPage hit, right? or maybe it wont count as hit, but only as browser snapshot?
function report(url, msg) {
const vPageView = new ADRUM.events.VPageView({url: url});
vPageView.start();
var errorm = new ADRUM.events.Error();
errorm.msg(msg);
errorm.parent(vPageView);
ADRUM.report(errorm);
vPageView.end();
ADRUM.report(vPageView);
}
you also written in different topic that
When you create a new tracker, it will be a different session being reported, hence it wont build on the old in-complete session.
so each time I call new ADRUM.events.VPageView I am creating new session? how should we than track the navigation through multiple virtual pages? by reusing the same VPageView and sets it url and report it again? that would be great to have it written in the documentation 🙂
... View more