Re: How do I create gated content accessible by filling out a form?

Anonymous
Not applicable

Re: How do I create gated content accessible by filling out a form?

Person B will be anonymous (unless converted at another time). I'm just saying that for many of these forwards, we accepted the fact that any additional gating would just frustrate our users, particularly the ones who haven't themselves committed to digging up a piece of content.

This is why we're "settling" and simply tracking which one of our converted visitors sent some of our content to a colleague. Rather than having nothing, we get a point of interest to score and for sales to (possibly) follow up on.

Anonymous
Not applicable

Re: How do I create gated content accessible by filling out a form?

Hey there Fedja,

I am not wanting to display a 403 error; I was just looking for a way to require the form to be filled out for each new whitepaper DL / user.

Anonymous
Not applicable

Re: How do I create gated content accessible by filling out a form?

You can also try this, courtesy of Jenna Molby's site somewhere:

Add this Javascript to the page:

MktoForms2.whenReady(function (form) {

    form.onSuccess(function(values, followUpUrl) {

        form.getFormElem().hide();

  document.getElementById("successAndErrorMessages").innerHTML="YOUR THANK YOU MESSAGE HERE";

        return false;

    });

});

Then add the following somewhere on the landing page, where you want the thank you message to appear:

<div id="successAndErrorMessages"></div>

I'm not a JS wiz, but I'm pretty sure you can make that error message include the download link.

That means you have a landing page with a form, and the page is set to stay on page on-success. When the customer fills the form, the success thank you message appears, with a link to download. This means that if this page is shared, the new user lands on the "normal" landing page URL with a form.

SanfordWhiteman
Level 10 - Community Moderator

Re: How do I create gated content accessible by filling out a form?

The same-page Thank You approach is documented in a lot of places, for example at http://blog.teknkl.com/same-page-thank-you-text-with-marketo-forms-about-the-aliid/


But most users choose to use a standalone Thank You page, for example to fire a conversion pixel (which can also be done via JS, but many users lack the technical skill to implement this) or to use a template designed for this purpose. Thus the reason for this thread.

Anonymous
Not applicable

Re: How do I create gated content accessible by filling out a form?

Found the link to the original source: Advanced Marketo Form Techniques 2