Subscription Forms | Community
Skip to main content
Rafael_Marques
New Participant
August 20, 2020
Question

Subscription Forms

  • August 20, 2020
  • 1 reply
  • 3887 views

Hi team,

I was wondering if you can help me with something. We have built a Marketo Form to add in our website as a popup solution and get people to subscribe to our database. The forms is quite basic to be honest. At the moment we are using the marketo scrip to run in our Home page (lightbox) and we managed to hide the Form if you are a Known Visitor (trough a cookie when you subscribe). The only issue we have is that if you do not subscribe (close the form) and you visit the home page a couple of time, the from will keep showing to you.

We don't want to bother people that don't want to subscribe to our database. Do you know if there is a way to show the Form once a week or any other frequency? We thought we could use Google Tag Manager for that so the from could be displayed in any page and set a frequency. Do you know how we could achieve that? 

 

Thank you!

1 reply

SanfordWhiteman
New Participant
August 20, 2020

Hi,

 

... managed to hide the Form if you are a Known Visitor (trough a cookie when you subscribe). Th

 

Thank you!


It shouldn't be necessary to set your own cookie for this. Just use the Known Visitor HTML feature ("If known visitor, show custom HTML" in Form Editor » Setup).  Remember, you won't get a chance to set your own cookie if somebody clicks a tracked email link for the first time in a given browser, but they are still a known visitor in that case.  Known Visitor HTML will detect that.

 


We don't want to bother people that don't want to subscribe to our database. Do you know if there is a way to show the Form once a week or any other frequency? We thought we could use Google Tag Manager for that so the from could be displayed in any page and set a frequency. Do you know how we could achieve that? 

 

Thank you!


You can just set a cookie with the last time the form was displayed.


Same idea as here: MktoForms2 :: Min Time between form renders except you stamp the time the form was displayed at all (whenReady) as opposed to the last time it was submitted (onSuccess).

Rafael_Marques
New Participant
August 20, 2020

Hi!

Thanks for that. We are using the Known Lead function.

 

This is what I have:

<script>// <![CDATA[ document.body.className += ' knownLead'; // ]]></script>

 

Is this what you are talking about?

 

SanfordWhiteman
New Participant
August 20, 2020

Yes, if that's all you have in the Known Visitor HTML, that will effectively hide the form. Not sure what you meant about your cookie though, since that's the built-in feature.