Hi Sandord, I assume that I may have set up the ReCAPTCHA wrong, or missed a step. To set up the ReCAPTCHA, I followed all the steps in this thread: How can I prevent spam entries to my form? One of the biggest ongoing problems Marketo users who have forms run into is ensuring their forms are free of automated spam. As spam bots have become more sophisticated, traditional honeypot and captcha methods haven’t worked, but at the same time, end users don’t want to have to prove they’re not a robot! Google introduced the Invisible reCAPTCHA in late 2016 to handle this problem more elegantly, and building the technology into your forms is a straightforward affair. To get started, visit https://www.google.com/recaptcha/admin and fill out the “Register a New Site” section: Select “Invisible reCAPTCHA” and add any domains you plan on having forms on in the Domains box. Do note that you only need your base domain, so go.example.com and pages.example.com will be covered by example.com. Accept the terms and register. Once you register, you’ll see an area with two keys: Keep both of these keys handy, because we’ll be using them! Meanwhile, head over to Marketo and create two fields in Admin->Field Management>: a string called “spamCheck” and a boolean field called “Verified”. These will be used to check the spam challenge and route your records accordingly. If you don’t have jQuery installed on your page already, make sure you have a copy of jQuery, and then implement the following script after jQuery loads: <script type= "text/javascript" > MktoForms2.whenReady( function (form) { $( "button[type='submit']" ).addClass( "g-recaptcha" ).attr( "data-sitekey" , "YOUR-SITE-KEY" ).attr( "data-callback" , "letsGo" ); $.getScript( " https://www.google.com/recaptcha/api.js " ,); letsGo = function () { MktoForms2.whenReady( function (form) { var v = grecaptcha.getResponse(); form.vals({ "spamCheck" : v}); form.submit(); }); }; }); </script> This will load Google’s reCAPTCHA API on your page. In short, what will happen is that when a user submits your form, the form will quickly call Google’s reCAPTCHA service to check that the submitter isn’t a spam bot. Google then returns a response, which we’ll store in the spamCheck field in Marketo. However, this is only half of the equation: we need to use our private key to check that the response is valid. Thankfully, we can do this with a simple webhook. Head to Admin->Webhooks> and create a new webhook with the following values: Webhook Name: ReCAPTCHA Validation URL: https://www.google.com/recaptcha/api/siteverify?secret=YOUR-SECRET-KEY&response={{lead.spamCheck}} Request Type: GET Response Type: JSON Hit “Save”. From there, hit the “Edit” button next to Response Mappings. For your response attribute, type in success (all lowercase) and for Marketo Field, choose the Verified boolean field you created earlier. The final product should look like the following: From there, using the reCAPTCHA validation is simple; when you set up a trigger for a form to be processed, you’ll simply call the webhook, wait 1 minute, and then do what you wish with the form fillout: And that’s all there is to it! Do note that per Google's reCAPTCHA policy, you'll be required to show the reCAPTCHA logo and terms of service. This is added by the script itself by default, but you can change how it appears as needed. I did everything myself except set up the jquery (dev team did that). In regards to "removing all form submissions", when I set up everything as below and tested the form completion myself, I never made it through the rest of the flow even though I used correct information. I was removed from the rest of the flow. In my person activity log you can see the form completion, but it never registered in the success of the program and I never received any alert emails or thank you emails as an end user and as the alert user.
... View more