in src/sessions/PageManager.ts [135:153]
private createPageViewEvent() {
const pageViewEvent: PageViewEvent = {
version: '1.0.0',
pageId: this.page.pageId
};
if (this.recordInteraction) {
pageViewEvent.interaction = this.page.interaction;
pageViewEvent.pageInteractionId =
this.page.pageId + '-' + this.page.interaction;
if (this.page.parentPageId !== undefined) {
pageViewEvent.parentPageInteractionId =
this.page.parentPageId + '-' + (this.page.interaction - 1);
}
}
return pageViewEvent;
}