How can we completely remove hidden sections from Marketo Guided Landing Pages instead of just hiding them?
In Marketo guided landing pages, using the "hide" feature (via display: none) does not remove the hidden sections from the page's HTML. Instead, these sections—along with their resources like images, scripts, and styles—are still loaded by the browser, leading to performance issues and heavier templates.
I came across this discussion: Removing a Landing Page Element Instead of Just Hiding It, but it didn’t work for us.
Has anyone successfully implemented a method to fully remove these sections from the final HTML output? Are there best practices or alternative approaches to achieve this?