In Page view call need to add additional events (page load time, time spent on previous page) from data-layer
Hi,
I am new with the web-sdk implementation, need help with one specific scenario.
In page view call i want to append additional events like page-load time, time-spent on previous page (developer have passed the values in datalayer). Like this - web.webPageDetails.pageLoadTime and web.webPageDetails.timeSpentOnPreviousPage.

Created the corresponding data elements and using those data-elements in XDM object. By assigning in _experience.analytics.events1to100.event31.value to corresponding data-element. Is that approach right ? Because i am not seeing any data getting populated into reports.
While i can see data flowing in interact call.


