Does getPageLoadTime plugin measure current or previous page load time
Maybe this is just a weird interpretation on my part, but is the getPageLoadTime plugin measuring the page load time for the page a user is currently on or the page load time for the previous page a user was on.
https://experienceleague.adobe.com/docs/analytics/implementation/vars/plugins/getpageloadtime.html?lang=en#use-the-plug-in
I am reading this as the value set for s_plt is the previous page's load time.
The getPageLoadTime method does not use any arguments. When calling this method, it does not return anything. Instead, it sets the following variables:
- s._pltPreviousPage: The previous page so you can correlate load time to the previous page
- s._pltLoadTime: The time in seconds that the previous page took to load
The getPageLoadTime plug-in creates two first-party cookies:
- s_plt: The time, in seconds, that the previous page took to load. Expires at the end of the browser session.
- s_pltp The value of the s.pageName variable as recorded in the previous Adobe Analytics image request. Expires at the end of the browser session.
However, when I run some additional page load time tests the current page I am on reads the same as the value getting sent to s_plt.
Am I reading the plugin correctly, or is the value for s_plt actually the time it takes for the current page a user is on to finish loading?
