Added heap analytics to all pages.