Adobe DTM - Purpose of pageBottom code



Hi everyone,

What's the purpose of firing _satellite.pageBottom() code right before closing </body> tag? I debugged the satellite library and found out that it's fired automatically just before DOMReady event.

D.domReady(function () {D.domReadyFired = !0, D.pageBottomFired || D.pageBottom(), D.firePageLoadEvent("domready") })

Can someone clarify why the code is so important?

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)




The footer code i.e. _satellite.pageBottom()   is responsible for identifying the end of the page for timing control Hence fired just before DOM ready event.  This code snippet should be placed in the body section of the site code as close to the closing tag as possible.

_satellite.pageBottom() is what compiles all the variables defined on that page into an image request and sends it to Analytics servers . If you are familiar with legacy Adobe Analytics implementation , _satellite.pageBottom() serves same purpose as s.t() call.

Thanks & Regards

Parit Mittal

Answers (1)

Answers (1)



With what I see, if we choose the option load library on top of the page even if i do not place the _satellite.pageBottom() - beacons still fires just fine.  I am skeptical _satellite.pageBottom() does same as s.t()

let me know your thoughts.


Pradeep SV