<iframe src=”https://shophinesocialautomi.aftership.com/iframe?page-name=tracking-page” scrolling=”no” frameborder=”0″ > </iframe> <script> // resize iframe to fit content const iframe = document.querySelector(“iframe”); window.addEventListener(“message”, (event) => { if ( event.data && event.data.type === “resize” && typeof event.data.scrollHeight === “number” && iframe ) { iframe.style.height = event.data.scrollHeight + “px”; } }); </script>