How to remove Google’s reCAPTCHA badge from Contact Form 7

What has changed in Google’s v.3 of reCAPTCHA and how those changes affected Contact Form 7

Google’s reCAPTCHA is one of the best ways to fight contact form spam. That said Contact Form 7 has an extra option under their Integration page which lets you enable v.3 reCAPTCHA Anti-Spam protection to your CF 7 forms.

Version 3 of reCAPTCHA forced anyone using its API to show the reCAPTCHA Badge in all of his/her site pages. So, protecting your site from spam come with a cost since you had to tag your site and add Google’s own branding while this inserted some extra requests to Google(read more about this at the end of this post).

Learn how to remove Google’s reCAPTCHA global site badge, the proper way

This is a short tutorial which will help you remove reCAPTCHA badge from your WordPress site pages without breaking any of Google’s acceptable use policy.

Step 1: Declare usage of Google’s reCAPTCHA in any of your Contact Form pages


Recently Google allowed it’s reCPATCHA users to remove the badge from their sites as long as they included the following text inside their forms just before the “send” or “Submit” button:

This site is protected by reCAPTCHA and the Google
Privacy Policy and
Terms of Service apply.

Step 2: Enable badge invisibility within your Contact Form 7 forms


Next thing you need to do is order your site to hide the reCAPTCHA badge, in order to achieve this you need to add the extra CSS snippet in your theme custom CSS option.

.grecaptcha-badge {
opacity: 0;
}

If your theme doesn’t have an option adding custom/extra CSS code then you can install and activate the Simple Custom CSS plugin and add the CSS snippet in your Dashboard Customization page.

Bonus Tip: How does v.3 of reCAPTCHA affect your site speed


Google’s v3 of reCAPTCHA has some significant changes when compared to the previous version(v2). Apart from showing the badge in all of your site pages, there is one more change which will probably hurt your WordPress site loading speed. Google scripts are now loaded in all of your site pages in a way of predicting your site visitors behaviour and spam score. This way v3 of reCAPTCHA will be more efficient in blocking spammers and whitelisting original visitors and users.
This new way of reCAPTCHA predicting spam visitors actually adds some extra requests to your WordPress site which means that you have to expect a slower response and total load time.

Leave a Reply

Your email address will not be published. Required fields are marked *