If known lead, do not show popup (lighbox) form.

Kat_Narvaez
Level 2

If known lead, do not show popup (lighbox) form.

We have some popup forms that display on certain sections of our website, after a few seconds. The problem is, we only need the popups to display for new visitors, not known leads. Is there an easy way to do this in Marketo?

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: If known lead, do not show popup (lighbox) form.

Yes:

  • Hide the #mktoForm_nnn <form> element by default (you actually should always do this when using the Marketo lightbox functions)
  • Set the form to show Custom HTML for Known Leads
  • Add an easily findable element (like <div class="knownLead" />) to the Custom HTML
  • Check if that element exists on the form before showing the lightbox and (thus unhiding the <form>)
Stephanie-Beal
Level 1

Re: If known lead, do not show popup (lighbox) form.

Hi Sanford - does this look to be correct? 

Stephanie-Beal_0-1595014478855.png

 

SanfordWhiteman
Level 10 - Community Moderator

Re: If known lead, do not show popup (lighbox) form.

That's the standard Custom HTML... what else are you looking to do with this feature?

Stephanie-Beal
Level 1

Re: If known lead, do not show popup (lighbox) form.

We have this form working as intended now, thanks!