Salut Martin! Sure, I’ll do my best. I’ve only been able to get the automatic implementation working so far…
General Steps:
1) Go to your MailPoet Forms page, find the form to which you want to add the reCAPTCHA (you can do it to more than one form if they’re not displayed on the same page), and click Edit. Scroll to the bottom and click on the html link to reveal the html code for your form. Copy and paste where you want to display your form, removing the shortcode or widget you were (maybe?) using before.
2) I can’t help but mention this here since it’s a pet peeve of mine with form builders like MailPoet… If you weren’t already using an html form, then you’ll likely want to add the correct markup to the form to make it accessible. Details: WebAIM & W3. I also really like this article, which is about CF7 but still very handy, especially since it’s in plain English, unlike the other two links ??
3) Sorry about that, I couldn’t help it… Back on track! So next, either sign up or sign in to your Google reCAPTCHA account, and locate your site key. Keep it handy while you finish up with your form.
4) Here are Google’s instructions for displaying the reCAPTCHA. In a nutshell, you need to place this code just before the “submit” input:
<div class="g-recaptcha" data-sitekey="your_site_key"></div>
Notice that’s where you’ll be putting in your site key.
5) Then you need to add this to the head
section in header.php:
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
That’s it! It should work ?? I got it to work on two forms.
Now I need to use the explicit rendering code, but I haven’t been able to figure that out yet… If anyone has any advice about how to do that, please chime in!