Form compatibility with reCAPTCHA v3 | Community
Skip to main content
Dan_Cunningham
Level 2
June 9, 2019
Question

Form compatibility with reCAPTCHA v3

  • June 9, 2019
  • 2 replies
  • 12466 views

Has anyone configured their forms to implement Google’s (newish) reCAPTCHA v3?

We experience waves of bot activity and v3 would be an ideal solution since it’s supposedly frictionless.

Thanks for any input,

Dan

2 replies

SanfordWhiteman
Level 10
June 9, 2019

Integrates as easily as v1 and v2 on the client. That is, your burden is still on the server side, building the right triggers, flows, and lists to catch failures (and not create them!).

Dan_Cunningham
Level 2
June 10, 2019

Thanks Sanford, do you happen to have an example of v3 working with Marketo? I'm attempting to follow your example and the instructions here but I've been unsuccessful in getting it to work.

Thanks,

Dan

SanfordWhiteman
Level 10
June 10, 2019
Level 3
September 10, 2019

Hi,

Silly question, but is the JS added in the form or landing page html?


Thanks!


Steve

SanfordWhiteman
Level 10
September 10, 2019

In the Landing Page HTML, or in a separate .JS file, is a lot easier to manage than trying to embed in a Rich Text area.

Level 3
September 10, 2019

Thanks Sanford,

Is it necessary to add the top portion of the script?

I ask because I notice you reference a specific form in this script, and the template I edited uses many different forms. I was concerned that if I add the part at top it would cause a problem if I use a form different than the one referenced here.


I tried adding just the bottom part of the script to the template and it seems to be working correctly,  but I just wanted to confirm if the top portion is necessary. Thanks!

Put this right BEFORE the <body> tag:

 

<!-- standard embed code -->

<script src="//app-sj20.marketo.com/js/forms2/js/forms2.min.js"></script>

<form id="mktoForm_1428"></form>

<script>MktoForms2.loadForm("//app-sj20.marketo.com", "122-YZF-525", 1428);</script>

<!-- /standard embed code -->