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!
Solved! Go to Solution.
Hi,
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
Hi,
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
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.
regards,
Pradeep SV
That's true @Pradeep_SV1 pageBottom() does something different compared to s.t(). When you call s.t() you send all the eVars to adobe analytics. When you call pageBottom() you just trigger the launch rules that depend on this PageBottom event. DOM Ready calls _satellite.pageBottom() only if the page bottom hasn't already been fired before, for example manually by you right before closing the </body> tag.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies