At.js custom events | Community
Skip to main content
ambikaTewari_ATCI
New Participant
June 11, 2020
Solved

At.js custom events

  • June 11, 2020
  • 1 reply
  • 1821 views

Hi Experts, I was trying to check the performance of webpage and tried using at.js custom events to evaluate the same.

1. As per the at.js working flow :
2. At.js is loaded
3. Body is hidden
4. response is received
5. body is unhide and css selector recieved in response is hidden
6.Offer is applied
7. css selector is unhide


Before the load of at.js I have executed new Date().getTime(); in order to check the time before at.js load.

Now I am fetching the time after each and every custom events firing mentioned below in order to get the time taken by target starting from target load till offer rendering.

The help doc tells that :

Content Rendering Succeeded
Constant: adobe.target.event.CONTENT_RENDERING_SUCCEEDED
String Value: at-content-rendering-succeeded
Description: Offer rendering was successful. DOM changes have been applied.

 

Content Rendering Start
Constant: adobe.target.event.CONTENT_RENDERING_START
String Value: at-content-rendering-start
Description: This event is fired before selector polling is started and content is rendered to the page. You can use this event to track the content rendering progress.

so wanted to ask when does "CONTENT_RENDERING_SUCCEEDED" and "CONTENT_RENDERING_START" is fired after which step mentioned above

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by nzchris
Firstly, I think that these two custom events only work if you are creating offers via the VEC and not using custom code offers. I assume that content render start firing is not tied directly to the hide code?

1 reply

nzchris
nzchrisAccepted solution
New Participant
June 15, 2020
Firstly, I think that these two custom events only work if you are creating offers via the VEC and not using custom code offers. I assume that content render start firing is not tied directly to the hide code?