getTimeToComplete plugin v4.0 | Community
Skip to main content
Pablo_Childe
Community Advisor
Community Advisor
March 3, 2024
Question

getTimeToComplete plugin v4.0

  • March 3, 2024
  • 2 replies
  • 1698 views

Loading plugin and having some challenges making it work but i noticed in network console beacon output:

getPageTimeToComplete:
n/a
 
If I look at custom code provided I see it referenced as getTimeToComplete so wondered is there some disconnect here in plugin or documentation?
 
All other plugins seem to self identify ok so wondered could this be some plugin backend error?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Level 4
March 7, 2024

Hi @pablo_childe 

 

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

 

plugin is no longer supported. Its code utilizes the performance.timing method, which (according to MDN) has been deprecated.

 

I think this plugin needs to be rebuilt using new PerformanceNavigationTiming 

https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming

 

Pablo_Childe
Community Advisor
Community Advisor
March 7, 2024

Thanks for reply but the plugin I mentioned is not the same one that you linked to above. My comment was how I think plugin gettimetocomplete seems to have some self identification problems which also lead to making it difficult to work with.

 

regards

 

Level 4
March 14, 2024

Sorry for misunderstanding .

 

i think you are referring to this plugin 

https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/plugins/gettimetocomplete

 

i never checked the console ,i once used this but never checked the console

yuhuisg
Community Advisor
Community Advisor
March 7, 2024

Are you logging "getPageTimeToComplete" instead of "getTimeToComplete", or is that a typo in your post?

Pablo_Childe
Community Advisor
Community Advisor
March 7, 2024

Here is my adobe beacon:

yuhuisg
Community Advisor
Community Advisor
March 7, 2024

Hmm, I don't see "getPageTimeToComplete" in the plugin code. Also, the version is showing as "n/a", whereas I believe the "getTimeToComplete" plugin would report its version as "4.0". I wonder if what you're seeing is coming from somewhere else...