any one know how to set up one gated asset on a LP? basically what I have is a landing page with videos and case studies...however I want to gate just one of the assets...so when they click on the asset a window pops us asking just for their email address - obviously once that has been done and they come back - they wont have to do that step again...any one know how to do this? and please explain in laments terms as I a new to Marketo...Help would be very much appreciate.
Thanks
P
You will need to do this with some javascript on the page, it won't be a native marketo feature. Unfortunately I do not know Javascript so I can't show you the exact code you will need.
Instead of requiring coding, why not just direct the person to another page with a form on it?
I wanted to avoid adding another page...s
I'd run a little javascript check against the email token:
<script>
var leadEmail = '{{lead.Email Address}}';
if (!leadEmail) {
//This is an anonymous visitor so show gated content.
console.log("Unknown");
} else {
//This is a known visitor, so show ungated content.
console.log("Known");
}
</script>
If you don't want to code anything, Josh Hill's answer is your next best bet.