Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Rule Fire as late as possible upon the initial view of the page

1982luca
Level 8
Level 8

Hello guys,

I need to implement a rule with event type is the latest to load? Which one I can use between DOM Ready. Window Loaded, Library Loaded and Page Bottom?

Thanks

Luca

2 Replies
Charles_Thirupathi
Level 3
Level 3

@1982luca For triggering the Rule as late as possible you can select eventType as Window loaded, as this is the event which triggers once the page has been completed loaded. For reference sharing the snapshot of other eventType informations.

Charles_Thirupa_0-1620568924330.png

 

tim_funk
Level 2
Level 2

They (should) fire in this order

  • Library Loaded
  • Page Bottom
  • DOM Ready
  • Window Loaded

 

Personally - I would use DOMReady. I would not trust window loaded. Window loaded fires AFTER all the images and other dependent assets are loaded. So if there is just one asset which is performing slowly - the event may never fire. (Which could yield analytics data loss)