Does Marketo have the ability to create private landing pages?

Highlighted

Does Marketo have the ability to create private landing pages?

Does Marketo have the ability to create private landing pages that customers can access through a password? We have some product landing page notes that we don't want prospect-facing, but would like to enable our customers to access and still have the same look/feel as other Marketo landing pages. Is this possible? I've searched the community & nothing comes up, so posting as a discussion here.

9 REPLIES 9
Highlighted
Anonymous
Not applicable

Re: Does Marketo have the ability to create private landing pages?

I would use a segment here to define dynamic content. The non-customer traffic can then see different content.

Highlighted
Level 10 - Champion Alumni

Re: Does Marketo have the ability to create private landing pages?

While Marketo doesn't offer a way to offer secured/password-protected pages, there are some techniques you can use to semi-restrict your LPs.  Establish a common password that would be required to access these pages. Then create a custom field for your password.

You will be creating three landing pages:

  1. Login page (with javascript)
  2. Unsuccessful login page (a static page to direct users to when the wrong password is submitted)
  3. Success page (where the private content exists) (with javascript)

Create a program and include these local tokens (text):

pastedImage_10.png

Create a simple form with this new  custom "password" field and place it on your "login" LP:

pastedImage_0.png

Add the following js to this page (note, your "document.cookie" value will be unique to your instance):

<script language="javaScript" type="text/javascript">

<!--- PASSWORD PROTECTION SCRIPT

function TheLogin() {

var password = '{{my.Landing Page Password}}';

if (this.document.login.pass.value == password) {

  var sessionTimeout = 1; //hours

  var loginDuration = new Date();

  loginDuration.setTime(loginDuration.getTime()+(sessionTimeout*60*60*1000));

  document.cookie = "AvanadeLPSession=Valid; "+loginDuration.toGMTString()+"; path=/";

  top.location.href="https://{{my.Landing Page URL}}";

}

else {

  location.href="https://{{my.Unsuccessful Login Page URL}}";

  }

}

// End hiding --->

</script>

On your success page, include the following js:

<script language="javaScript" type="text/javascript">

// Check to see is login cookie is set - if not, redirect to login page

if (document.cookie.indexOf("AvanadeLPSession=Valid") == -1) {

  location.href = "https://{{my.Login Page URL}}";

}

</script>

Thanks to Sanford Whiteman​ for assisting with some of this javascript.

Highlighted
Anonymous
Not applicable

Re: Does Marketo have the ability to create private landing pages?

How about using RTP here. Seems like a simpler solution...but if these are Marketo landing pages vs. the website a segment will work.

Highlighted
Anonymous
Not applicable

Re: Does Marketo have the ability to create private landing pages?

The campaign should be able to read the Marketo cookie...

Highlighted
Level 8

Re: Does Marketo have the ability to create private landing pages?

All of this potentially exposes your credentials. I know it's a small chance someone is going to search through source code but it's still not a best practice.

Highlighted
Level 10 - Champion Alumni

Re: Does Marketo have the ability to create private landing pages?

Agree, Robb.  I should have pointed out that by no means is this a super secure setup.  Nor should it be used for confidential/restricted content.  We have used this with a few of our clients to give them some sense that this content was intended only for them after they attended an event.  However, there would be no harm done if the presentations that were available on the landing page got out in the public domain.

Highlighted
Level 10 - Community Moderator

Re: Does Marketo have the ability to create private landing pages?

There's a quicker way involving a form + dynamic segmentation -- if I ever get a breather I can blog it.  Remind me in a couple of weeks.

Highlighted
Level 1

Re: Does Marketo have the ability to create private landing pages?

Hi Sanford, did you by any chance get to blog about this? I just tried creating a password page using this method and can't seem to get it working.

Highlighted
Level 8

Re: Does Marketo have the ability to create private landing pages?

There's no reason why your pages can't look like Marketo pages no matter where they are. In fact, good web design would be to create a seamless transition and the user never realizes they switched servers.

If you really want password protected, I would look outside Marketo. This is a good program but it's power is in creating Marketing programs, not content portals. You can have APIs that share info between the two, but clearly this type of functionality is not Marketo's intended purpose nor in it's wheelhouse.