Expand my Community achievements bar.

SOLVED

Event Types in Rules and the order

Avatar

Level 2

Hi,

 

I am new to Data collection Adobe launch. I am trying to learn and bit confused between what are different event types in Page Load what is the order in which they fire.

  • DOM Ready
  • Library Loaded(Page Top)
  • Page Bottom
  • Window Loaded

I tried to search in documentation but could not find the exact explanation i am looking for.

Thank you in advance for the help! 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, 

 

These are more generic HTML events and not specific to Adobe Launch (now rebranded as Data Collection Tags). The below summary was taken from here: https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/recommended-event-type-wh... which I highly recommend to read.

 

1. DOM Ready should fire when the code is on the page, but not necessarily rendered

2. Window Loaded should be when all the content has completely loading

3. Lib Loaded is basically in the head of the document

4. Page Bottom is sort of the opposite of Lib Loaded, where the call should be the last item in the body

 

I would also recommend these articles for a better understanding of where to put your JS files according to your requirements:

https://www.corewebvitals.io/pagespeed/head-vs-footer-javascript-and-core-web-vitals 

https://ezsegment.com/gtm-page-view-dom-ready-and-window-loaded-explained/

https://www.sitepoint.com/community/t/just-read-this-place-js-code-before-footer-instead-of-in-head-... 

https://stackoverflow.com/questions/18434708/does-loading-scripts-at-the-bottom-of-a-page-guarantee-... 

 

I hope this helps.



Esteban Bustamante

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi, 

 

These are more generic HTML events and not specific to Adobe Launch (now rebranded as Data Collection Tags). The below summary was taken from here: https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/recommended-event-type-wh... which I highly recommend to read.

 

1. DOM Ready should fire when the code is on the page, but not necessarily rendered

2. Window Loaded should be when all the content has completely loading

3. Lib Loaded is basically in the head of the document

4. Page Bottom is sort of the opposite of Lib Loaded, where the call should be the last item in the body

 

I would also recommend these articles for a better understanding of where to put your JS files according to your requirements:

https://www.corewebvitals.io/pagespeed/head-vs-footer-javascript-and-core-web-vitals 

https://ezsegment.com/gtm-page-view-dom-ready-and-window-loaded-explained/

https://www.sitepoint.com/community/t/just-read-this-place-js-code-before-footer-instead-of-in-head-... 

https://stackoverflow.com/questions/18434708/does-loading-scripts-at-the-bottom-of-a-page-guarantee-... 

 

I hope this helps.



Esteban Bustamante

Avatar

Level 1

Hi Bhushan,

 

I would like to add types of rules in adobe launch  and when to use which.

This would be helpful i guess.

 

thanks.