Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values | Community
Skip to main content
Level 2
May 7, 2020
Solved

Leveraging Google reCAPTCHA to identify SPAM activity: Duplicate values

  • May 7, 2020
  • 1 reply
  • 4385 views

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.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

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.

1 reply

SanfordWhiteman
Level 10
May 7, 2020

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

Level 2
May 7, 2020
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
May 8, 2020

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.