Skip to main content
Grégoire_Miche2
Level 10
April 9, 2016
New

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

  • April 9, 2016
  • 3 replies
  • 4462 views

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

3 replies

Justin_Cooperm2
Level 10
April 22, 2016

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.

Grégoire_Miche2
Level 10
April 22, 2016

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

Grégoire_Miche2
Level 10
December 27, 2016

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

-Greg

SanfordWhiteman
Level 10
December 28, 2016

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" />

Grégoire_Miche2
Level 10
December 28, 2016

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

February 6, 2020
No text available