Skip to main content
Grégoire_Miche2
Level 10
Apr 9, 2016 1:57 PM UTC
New

Guided Landing Pages: Template variables to really remove the code instead of hiding it.

Currently, we can use a landing page template variable to hide part of the LP. The variable will be set as a boolean and will be used in a display css instruction.

The issue with this is that the hidden code still has to be loaded, which slows down the LP display, especially if the hidden section contains images and the visitor is on a mobile.

This idea is that it would be better if we could create "section toggle" variables that would cause the whole section embedded into it to just be removed from the landing page when it is approved.

-Greg

13 replies

Justin_Cooperm2
Level 10
Apr 22, 2016 9:34 PM UTC

Grégoire,

I could have sworn you posted an idea similar to this in the past! You know I know about this and we will add it eventually. Right now, focusing on rolling out the enhanced functionality in the Email Editor. It will have this capability, as it will support modular design principles.

Translate
Grégoire_Miche2
Level 10
Apr 22, 2016 9:37 PM UTC

Hi Justin,

I had not posted it as an idea, just as a line item in a longer post. So I created a separate idea so that we would have the possibility to vote separately and monitor the status that you and the PM would assign to it

Thx.

-Greg

Translate
Grégoire_Miche2
Level 10
Dec 27, 2016 5:41 PM UTC

This is more or less about getting the Email 2.0 module functionality to the landing pages.

-Greg

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Dec 28, 2016 9:43 AM UTC

I'm writing a post about partials in Marketo LPs that is another way to approach this (and also allows you to speed up page loads with cached HTML fragments).

Imagine it paired w/mktoBooleans like this:

<partial disabled="${partial1}" src="http://pages.example.com/partialpage" />

Translate
Grégoire_Miche2
Level 10
Dec 28, 2016 3:48 PM UTC

That would be really cool. Not that easy to administrate and design though , since all your partial pages will have to be created separately then assembled in a final page.

Would it be possible to have also some JS that simply removes the unnecessary code on page load?

Greg

Translate
Feb 6, 2020 8:06 PM UTC
No text available
Translate