SOLVED

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

Go to solution
Kristina_Schro1
Level 2

Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

Hello,

 

We implemented a reCAPCTHA solution however are now noticing duplicate submissions (one success one failure) from the webhook implementation of reCAPCTHA. I'm not sure why this is running twice and wondering if anyone else had something similar happen to them. Appreciate any starting points!

 

  1. Forms are being submitted twice, even after clicking the submit CTA once.
  2. Due to the above, Google reCAPTCHA is identifying the first entry as valid and qualifying that to the success list (in the program). While the second form submission, which happens in a matter of seconds, is categorized as a duplicate, identified as a bot and gets added to the failure list in the program.
  3. While testing we created a LP without any JS/without using our landing page templates (blank page with just the Marketo form on it), while filling out the form, there were no duplicate form submissions, the program was working as per expectation. Therefore we narrowed down the issue to the scripts on the LP templates which get fired whenever there is a form submission.
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

You have a whole stack of onValidate listeners that aren't cooperating with each other. 

 

When using a stack of multiple onValidates, you need to code carefully so form.submittable() (for one example) is carried from event to event and in a predictable order. They can't run fully independently.

View solution in original post

6 REPLIES 6
SanfordWhiteman
Level 10 - Community Moderator

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

You'd have to link to your page so we can see what's wrong with the JS.

Kristina_Schro1
Level 2

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

SanfordWhiteman
Level 10 - Community Moderator

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

You have a whole stack of onValidate listeners that aren't cooperating with each other. 

 

When using a stack of multiple onValidates, you need to code carefully so form.submittable() (for one example) is carried from event to event and in a predictable order. They can't run fully independently.

Kristina_Schro1
Level 2

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

 going to have our developers take a look at the code thank you @SanfordWhiteman !!

Kristina_Schro1
Level 2

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

Hi @SanfordWhiteman Sanford, still working on cleaning up this code and our developers are not able to find exactly where the validate issue resides. Any guidance?

SanfordWhiteman
Level 10 - Community Moderator

Re: Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

Did they remove all the other validations? B/c there's nothing intrinsically wrong with the reCAPTCHA routine on its own.