How does session replay work if there is an iFrame on the page? Table of Contents For session replay to work, you’ll have to install heap within the iFrame and enable secureCookie on the page.