This content has been marked as final. Show 3 replies
Hi Stan,1 of 1 people found this helpful
We do not set a cookie in the browser automatically if a lead has filled out a form, but it should be quite simple to implement one yourself. You can also use getLeadActivity from our SOAP to check for Form Fillouts on a records, but that'll require some servers-side work. Setting the cookie in the browser is probably simpler.
You can check if the Marketo cookie exists, but this would not indicate if they have a filled out a certain form. This StackOverflow questions shows how to check for a Marketo cookie with jQuery:
As Kenny described, getLeadActivty is the best way to check for form fill activity. You can query this API with the value of the user's cookie. So it possible to do this in real-time when a visitor is on your website.
A second approach, which would be easier, is to put your own cookie on a user's browser when the form is filled out. Then check if the cookie exists before loading a form.