Archived topic
Contact form spam filters / reCAPTCHA
3 replies · Started by Jonas on January 29, 2020
Hello,
I'm wondering how to install reCAPTCHA in the best possible way (to stop Contact Form 7 spam). I know there are plugins, but I want to have as few of those as possible.
I speculate that the hook element is the way to go, but I would like some confirmation on this before I waste an hour or two jumping down the wrong rabbit hole. I know that Google Analytics can be added with the hook function.
Kind Regards,
Jonas
Hi there,
Nothing built-in for this so I'd say that plugin solution is your best bet.
GA can be added using hooks as it's specified to be added into a hook.
Did you find any custom code that you'd like to try? If you link me to it with the instruction from the code author then I can let you know if hooks will work.
I'm guessing it would likely need to be added using functions though.
Let me know :)
So this is what I've got: https://developers.google.com/recaptcha/docs/display
I use elementor, but perhaps I can just use a HTML-element that is built into the page-builder.
EDIT: I figured it out.
Glad you found a solution!