Page load time | Adobe Higher Education
Skip to main content
Level 4
November 29, 2023
Domanda

Page load time

  • November 29, 2023
  • 2 risposte
  • 860 visualizzazioni

ZHi everyone,

In configure code AA analytics, Inside do plug-in, I have written code  but then , I am not getting the event 100.

 

Here is the code as follows 

 

 

if(s.pageName) getPageLoadTime();

if(s._pltPreviousPage)

{

  s.prop10 = s._pltLoadTime;

  s.eVar10 = s._pltPreviousPage

  s.events = s.events + "event100=" + window._pltL

oadTime;

}

I am not getting the  event100 and eVar10 in any pages in SPA website.

 

 

Questo argomento è stato chiuso alle risposte.

2 risposte

abhinavbalooni
Community Advisor
Community Advisor
November 29, 2023

Hey @aepaa 

 

As per the latest version update of the plugin, the values have moved to window object instead of the s object.

 

https://experienceleague.adobe.com/docs/analytics/implementation/vars/plugins/getpageloadtime.html?lang=en

 

Try using window object as per the above documentation and see how you go.

 

Cheers,

Abhinav

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 29, 2023

Also, you should watch the console of your browser to make sure there are no JS errors.

 

You could try adding some temp console.log entries at various points to see if this code is being triggered and the state of some of the values at the time of the trigger.