{"id":142172,"date":"2020-09-18T15:42:46","date_gmt":"2020-09-18T19:42:46","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=142172"},"modified":"2025-08-18T12:13:38","modified_gmt":"2025-08-18T16:13:38","slug":"how-to-use-google-recaptcha-to-prevent-spam","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-use-google-recaptcha-to-prevent-spam\/","title":{"rendered":"How to Use Google reCAPTCHA to Prevent Spam"},"content":{"rendered":"\n<p>OptinMonster makes it easy to use Google reCAPTCHA v3 to prevent spam submissions with your optin campaigns.<\/p>\n\n\n\n<p>In this article, you&#8217;ll learn how to connect Google reCAPTCHA v3 with OptinMonster.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Before You Start<\/h2>\n\n\n\n<p>Here are some things to know before you begin:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You&#8217;ll need to create a <a href=\"https:\/\/www.google.com\/recaptcha\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Google reCAPTCHA<\/a> account to use this feature.<\/li>\n\n\n\n<li>Once configured, reCAPTCHA is&nbsp;<strong><em>enabled<\/em><\/strong> by default for all campaigns. You can <strong>disable reCAPTCHA for individual campaigns<\/strong> (explained below).<\/li>\n\n\n\n<li>Google reCAPTCHA v3 can be added to any domain registered in your OptinMonster account.<\/li>\n\n\n\n<li>Google reCAPTCHA cannot be applied to a custom form added using our <a href=\"https:\/\/optinmonster.com\/docs\/how-to-connect-optinmonster-with-any-custom-html-form\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Custom HTML integration option<\/a>. It will be applied only to native Email Marketing Service integrations configured for your campaign.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Connect Google reCAPTCHA<\/h2>\n\n\n\n<p>To prevent spam submissions through your optin campaigns you can use Google&#8217;s reCAPTCHA service.<\/p>\n\n\n\n<p>To use Google&#8217;s reCAPTCHA service, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log into your Google reCAPTCHA account and <a href=\"https:\/\/www.google.com\/recaptcha\/admin\/create\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">register a new site<\/a> to use reCAPTCHA on.<\/li>\n\n\n\n<li>Select reCAPTCHA v3.<br><img decoding=\"async\" width=\"800\" height=\"825\" class=\"alignnone size-large wp-image-142173\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/Screen-Shot-on-2020-03-19-at-173708-993x1024.png\" alt=\"Register a site with Google reCAPTCHA\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/Screen-Shot-on-2020-03-19-at-173708-993x1024.png 993w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/Screen-Shot-on-2020-03-19-at-173708-291x300.png 291w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/Screen-Shot-on-2020-03-19-at-173708-768x792.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/Screen-Shot-on-2020-03-19-at-173708.png 1264w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Once registered you&#8217;ll be provided with a&nbsp;<strong>Site Key&nbsp;<\/strong>and a&nbsp;<strong>Secret Key<\/strong>.<br><img decoding=\"async\" width=\"800\" height=\"549\" class=\"alignnone size-large wp-image-142174\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/recaptcha-keys-1024x703.png\" alt=\"Google reCAPTCHA keys\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/recaptcha-keys-1024x703.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/recaptcha-keys-300x206.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/recaptcha-keys-768x528.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/recaptcha-keys.png 1476w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Next, in your OptinMonster account open the <a href=\"https:\/\/app.optinmonster.com\/sites\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Site Management page<\/a> and edit the domain you want to add Google reCAPTCHA to.<\/li>\n\n\n\n<li>In the Site edit screen, add the&nbsp;<strong>Site Key<\/strong> and&nbsp;<strong>Secret Key<\/strong> you were provided with by Google in Step 2 to the corresponding fields.<br><img decoding=\"async\" width=\"800\" height=\"598\" class=\"alignnone size-large wp-image-142175\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/site-edit-recaptcha-1024x766.png\" alt=\"Edit site to add Google reCAPTCHA keys\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/site-edit-recaptcha-1024x766.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/site-edit-recaptcha-300x225.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/site-edit-recaptcha-768x575.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/03\/site-edit-recaptcha.png 1606w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>When you&#8217;re finished, click&nbsp;<strong>Save<\/strong>.<\/li>\n\n\n\n<li>No further configuration is required, reCAPTCHA will just work once configured according to the steps above.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Disable reCAPTCHA<\/h2>\n\n\n\n<p>Once you&#8217;ve connected Google reCAPTCHA to your account it is enabled for all new campaigns by default. You can optionally disable reCAPTCHA on individual OptinMonster campaigns as you desire.<\/p>\n\n\n\n<p>To disable Google reCAPTCHA on individual campaigns, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the&nbsp;<strong>Design&nbsp;<\/strong>view of the campaign builder select the optin fields element and select the&nbsp;<strong>Advanced<\/strong> tab in the sidebar panel.<br><img decoding=\"async\" width=\"800\" height=\"542\" class=\"alignnone size-large wp-image-170927\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/04\/advanced_tab.png\" alt=\"click the advanced tab\"><\/li>\n\n\n\n<li>Next, click to expand the&nbsp;<strong>reCAPTCHA&nbsp;<\/strong>section and toggle the&nbsp;<strong>Enable Google reCAPTCHA?&nbsp;<\/strong>option.<br><img decoding=\"async\" width=\"570\" height=\"900\" class=\"alignnone size-full wp-image-165585\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/disable-google-recaptcha.jpg\" alt=\"Disable Google reCAPTCHA for an individual OptinMonster campaign.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/disable-google-recaptcha.jpg 570w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/disable-google-recaptcha-190x300.jpg 190w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/li>\n\n\n\n<li>When you&#8217;re finished,&nbsp;<strong>Save<\/strong> the campaign.<\/li>\n<\/ol>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">I&#8217;ve configured reCAPTCHA for my site but I don&#8217;t see any captcha fields added to my optin form.<\/h5>\n\n\n\n<p>We use Google reCAPTCHA version 3, which is completely invisible.<\/p>\n\n\n\n<p>We recommend you test-submit a campaign once you&#8217;ve configured Google reCAPTCHA in your OptinMonster account to ensure the lead submission completes normally.<\/p>\n\n\n\n<p>If you encounter any issues or have any concerns, please <a href=\"https:\/\/optinmonster.com\/docs\/getting-support-for-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">reach out to our support team for assistance<\/a>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">I don&#8217;t have an option in the campaign builder to enable\/disable Google reCAPTCHA.<\/h5>\n\n\n\n<p>Be sure you&#8217;ve added a Fields block to the campaign. You can only access Google reCAPTCHA settings in the builder via the Fields block options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OptinMonster makes it easy to use Google reCAPTCHA v3 to prevent spam submissions with your optin campaigns. In this article, you&#8217;ll learn how to connect Google reCAPTCHA v3 with OptinMonster. Before You Start Here are some things to know before you begin: Connect Google reCAPTCHA To prevent spam submissions through your optin campaigns you can&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[10],"documentation\/tags":[31409,31408,31424,31411,31401],"class_list":["post-142172","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-integrations"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/142172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/4657"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=142172"}],"version-history":[{"count":15,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/142172\/revisions"}],"predecessor-version":[{"id":202613,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/142172\/revisions\/202613"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=142172"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=142172"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=142172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}