Event Types in Rules and the order | Community
Skip to main content
Bhushan_Mahajan
Level 2
September 4, 2024
Solved

Event Types in Rules and the order

  • September 4, 2024
  • 2 replies
  • 1701 views

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! 

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 EstebanBustamante

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-while-setting-rule-in-adobe-launch/m-p/362715 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-tag/13110 

https://stackoverflow.com/questions/18434708/does-loading-scripts-at-the-bottom-of-a-page-guarantee-the-dom-will-be-ready-bef 

 

I hope this helps.

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
September 4, 2024

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-while-setting-rule-in-adobe-launch/m-p/362715 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-tag/13110 

https://stackoverflow.com/questions/18434708/does-loading-scripts-at-the-bottom-of-a-page-guarantee-the-dom-will-be-ready-bef 

 

I hope this helps.

Esteban Bustamante
Bhushan_Mahajan
Level 2
September 4, 2024

Thank you for the quick reply.

September 20, 2024

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.