{"id":432002,"date":"2024-04-05T11:15:34","date_gmt":"2024-04-05T11:15:34","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=432002"},"modified":"2026-03-27T09:54:05","modified_gmt":"2026-03-27T09:54:05","slug":"how-to-setup-google-recaptcha-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/","title":{"rendered":"How to setup Google reCAPTCHA in Magento 2"},"content":{"rendered":"\n<p>In this blog, we\u2019ll explore <strong>\u201c<\/strong>How to Setup Google reCAPTCHA in Magento 2\u201d and understand how it helps protect your store from spam, bots, and fake submissions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Google reCAPTCHA &amp; Benefits<\/h2>\n\n\n\n<p>Google reCAPTCHA, a service provided by Google to safeguard your websites from spam and bots.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>reCaptcha prevents spam and bot attacks to reduce suspicious access and fraud potential risk<\/li>\n\n\n\n<li>reCAPTCHA protects user login, registration, and checkout processes and makes sure no robots are harming our site, making sure surfing our site are real humans.<\/li>\n<\/ul>\n\n\n\n<p>To use CAPTCHA a valid <strong>Google API Website Key<\/strong> and <strong>Google API Secret Key<\/strong>&nbsp;are required<\/p>\n\n\n\n<p>Adobe Commerce EU Captcha extension enhances the security of your store &#8211; <a href=\"https:\/\/webkul.com\/blog\/magento2-eu-captcha-documentation\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 EU Captcha Extension<\/a><\/p>\n\n\n\n<p>For a personalized touch, engage and&nbsp;<a href=\"https:\/\/webkul.com\/hire-magento-developers\/\" target=\"_blank\" rel=\"noreferrer noopener\">hire Magento developers<\/a>&nbsp;who are focused on delivering exceptional results for your custom e-commerce projects.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Google reCAPTCHA in MAGENTO 2<\/h2>\n\n\n\n<p>CAPTCHA, short for Completely Automated Public Turing Test to Tell Computers and Humans Apart, reCAPTCHA is a tool that can differentiate between automated bots and humans.<\/p>\n\n\n\n<p>In Adobe Commerce, CAPTCHA can be used in both Admin and Frontend areas. Adobe Commerce supports both standard CAPTCHA and <a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-admin\/systems\/security\/captcha\/security-google-recaptcha\">Google CAPTCHA<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enable Google CAPTCHA for Magento frontend<\/h2>\n\n\n\n<p>In the admin section go to <\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Store &gt; Configuration &gt; Security<\/strong> <strong>&gt; Google  CAPTCHA Storefront<\/strong><\/p>\n\n\n\n<p>for frontend Google reCaptcha configuration:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1200\" height=\"534\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp\" alt=\"recaptcha config\" class=\"wp-image-432035\" style=\"width:820px;height:auto\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-300x134.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-250x111.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-768x342.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-604x270.webp 604w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front.webp 1291w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In Magento three types of Google captcha <\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ul class=\"wp-block-list\">\n<li>reCaptcha v2 (&#8220;I am not a robot&#8221;)<\/li>\n\n\n\n<li>reCaptcha v2 Invisible<\/li>\n\n\n\n<li>reCaptcha v3 Invisible<\/li>\n<\/ul>\n\n\n\n<p>Here we can configure all three types of reCAPTCHA<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. reCAPTCHA v2 (&#8220;I am not a robot&#8221;)<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Google API Website Key<\/strong>: Enter Google captcha account website key<\/li>\n\n\n\n<li><strong>Google API Secret Key:<\/strong> Enter Google captcha account API key<\/li>\n\n\n\n<li><strong>Size:<\/strong> Select size from Normal or Compact<\/li>\n\n\n\n<li><strong>Theme: <\/strong>Can change the theme to Light or Dark<\/li>\n\n\n\n<li><strong>Language Code:<\/strong> can set language code (two character code)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. reCAPTCHA v2 Invisible<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Google API Website Key<\/strong>: Enter Google captcha account website key<\/li>\n\n\n\n<li><strong>Google API Secret Key:<\/strong> Enter Google captcha account API key<\/li>\n\n\n\n<li><strong>Invisible Badge Position:<\/strong> choose the badge position on each page. positions-&nbsp;<code>Inline<\/code>&nbsp;\/&nbsp;<code>Bottom Right<\/code>&nbsp;\/&nbsp;<code>Bottom Left<\/code><\/li>\n\n\n\n<li><strong>Theme: <\/strong>Can change the theme to Light or Dark<\/li>\n\n\n\n<li><strong>Language Code:<\/strong> can set language code (two character code)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">3. reCAPTCHA v3 Invisible<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Google API Website Key<\/strong>: Enter Google captcha account website key<\/li>\n\n\n\n<li><strong>Google API Secret Key:<\/strong> Enter Google captcha account API key<\/li>\n\n\n\n<li><strong>Minimum Score Threshold:<\/strong> Score between (1.0 to 0, where 1.0 is a typical user interaction, and 0.0 is likely a bot)<\/li>\n\n\n\n<li><strong>Invisible Badge Position:<\/strong> choose the badge position on each page. positions-&nbsp;<code>Inline<\/code>&nbsp;\/&nbsp;<code>Bottom Right<\/code>&nbsp;\/&nbsp;<code>Bottom Left<\/code><\/li>\n\n\n\n<li><strong>Theme: <\/strong>Can change the theme to Light or Dark<\/li>\n\n\n\n<li><strong>Language Code:<\/strong> can set language code (two character code)<\/li>\n<\/ul>\n\n\n\n<p><strong>Basically, the main common configuration for all three types of reCAPTCHA is &#8211;<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Google API Website Key<\/li>\n\n\n\n<li>Google API Secret Key<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"882\" height=\"290\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recapcha-config-form.webp\" alt=\"recaptcha config\" class=\"wp-image-432037\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recapcha-config-form.webp 882w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recapcha-config-form-300x99.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recapcha-config-form-250x82.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recapcha-config-form-768x253.webp 768w\" sizes=\"(max-width: 882px) 100vw, 882px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>We can also configure reCAPTCHA validation and technical failure messages &#8211;<\/strong> <\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Store &gt; Configuration &gt; Security<\/strong> <strong>&gt; Google CAPTCHA Storefront<\/strong> <strong>&gt; reCAPTCHA Failure Messages<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"913\" height=\"393\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-error.webp\" alt=\"recaptcha error message\" class=\"wp-image-432038\" style=\"width:820px;height:auto\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-error.webp 913w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-error-300x129.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-error-250x108.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-error-768x331.webp 768w\" sizes=\"(max-width: 913px) 100vw, 913px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Finally, we can enable reCAPTCHA any one of three for frontend forms. some options are below<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">Use in Login<\/li>\n\n\n\n<li>Use in Forgot password<\/li>\n\n\n\n<li>Use in Contact<\/li>\n\n\n\n<li>Use in Create user<\/li>\n\n\n\n<li>Use in Review<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Store &gt; Configuration &gt; Security<\/strong> <strong>&gt; Google CAPTCHA Storefront<\/strong> <strong>&gt; Storefront<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-1-1200x943.webp\" alt=\"\" class=\"wp-image-435407\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-1-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-1-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-1-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-1-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-1-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-1-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"738\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-2-1200x738.webp\" alt=\"\" class=\"wp-image-435408\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-2-1200x738.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-2-300x185.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-2-250x154.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-2-768x472.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-2-1536x945.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/config-2-2048x1260.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Some Form view with Google reCAPTCHA<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1-1200x943.webp\" alt=\"\" class=\"wp-image-435409\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/edit-account-1200x943.webp\" alt=\"\" class=\"wp-image-435410\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/edit-account-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/edit-account-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/edit-account-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/edit-account-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/edit-account-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/edit-account-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"2240\" height=\"1760\" data-id=\"435411\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa.webp\" alt=\"\" class=\"wp-image-435411\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa.webp 2240w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/contact-recaptchaa-2048x1609.webp 2048w\" sizes=\"(max-width: 2240px) 100vw, 2240px\" loading=\"lazy\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Enable Google CAPTCHA for Magento admin<\/h2>\n\n\n\n<p>In admin reCAPTCHA configuration also same as front end<\/p>\n\n\n\n<p>For Admin you can enable reCAPTCHA for login and forgot password<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"475\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/admin-recaptcha-1200x475.webp\" alt=\"recaptcha admin\" class=\"wp-image-432117\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/admin-recaptcha-1200x475.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/admin-recaptcha-300x119.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/admin-recaptcha-250x99.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/admin-recaptcha-768x304.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/admin-recaptcha.webp 1203w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n\n\n<p>If you have any questions please comment below, and we will try to respond to you.<\/p>\n\n\n\n<p>Thanks! \ud83d\ude42<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1200x943.webp\" alt=\"login-recaptcha\" class=\"wp-image-435406\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/login-recaptchaa-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Moreover, there is no need to seek elsewhere; avail yourself of the chance to commence your projects with the endorsed&nbsp;<a href=\"https:\/\/webkul.com\/magento-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 development company<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we\u2019ll explore \u201cHow to Setup Google reCAPTCHA in Magento 2\u201d and understand how it helps protect your store from spam, bots, and fake submissions. What is Google reCAPTCHA &amp; Benefits Google reCAPTCHA, a service provided by Google to safeguard your websites from spam and bots. To use CAPTCHA a valid Google API <a href=\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":518,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9121,1],"tags":[],"class_list":["post-432002","post","type-post","status-publish","format-standard","hentry","category-magento","category-magento-2","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to setup Google reCAPTCHA in Magento 2 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"how to set google Recaptcha in Magento-2 google Recaptcha, benefits and use of recaptcha, secure site using recaptcha\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup Google reCAPTCHA in Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"how to set google Recaptcha in Magento-2 google Recaptcha, benefits and use of recaptcha, secure site using recaptcha\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-05T11:15:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-27T09:54:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp\" \/>\n<meta name=\"author\" content=\"Tarun Pundhir\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tarun Pundhir\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\"},\"author\":{\"name\":\"Tarun Pundhir\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/da1ba586e53ff8058892b67831ef5f2f\"},\"headline\":\"How to setup Google reCAPTCHA in Magento 2\",\"datePublished\":\"2024-04-05T11:15:34+00:00\",\"dateModified\":\"2026-03-27T09:54:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\"},\"wordCount\":602,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp\",\"articleSection\":[\"magento\",\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\",\"name\":\"How to setup Google reCAPTCHA in Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp\",\"datePublished\":\"2024-04-05T11:15:34+00:00\",\"dateModified\":\"2026-03-27T09:54:05+00:00\",\"description\":\"how to set google Recaptcha in Magento-2 google Recaptcha, benefits and use of recaptcha, secure site using recaptcha\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front.webp\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front.webp\",\"width\":1291,\"height\":575,\"caption\":\"recaptcha config\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup Google reCAPTCHA in Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/da1ba586e53ff8058892b67831ef5f2f\",\"name\":\"Tarun Pundhir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1bdeedccbb3dcb6e0ac6654bd5ea530f8b4acbe03497c98e7544b62d889a7499?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1bdeedccbb3dcb6e0ac6654bd5ea530f8b4acbe03497c98e7544b62d889a7499?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Tarun Pundhir\"},\"description\":\"Tarun is a proficient Software Engineer specializing in the Magento platform. With expertise in Magento Marketplace Development and API Development services, he delivers robust, scalable solutions that enhance eCommerce functionality, driving seamless integration and empowering businesses to thrive in the digital landscape\",\"url\":\"https:\/\/webkul.com\/blog\/author\/tarun-pundhir408\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup Google reCAPTCHA in Magento 2 - Webkul Blog","description":"how to set google Recaptcha in Magento-2 google Recaptcha, benefits and use of recaptcha, secure site using recaptcha","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"How to setup Google reCAPTCHA in Magento 2 - Webkul Blog","og_description":"how to set google Recaptcha in Magento-2 google Recaptcha, benefits and use of recaptcha, secure site using recaptcha","og_url":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2024-04-05T11:15:34+00:00","article_modified_time":"2026-03-27T09:54:05+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp","type":"","width":"","height":""}],"author":"Tarun Pundhir","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Tarun Pundhir","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/"},"author":{"name":"Tarun Pundhir","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/da1ba586e53ff8058892b67831ef5f2f"},"headline":"How to setup Google reCAPTCHA in Magento 2","datePublished":"2024-04-05T11:15:34+00:00","dateModified":"2026-03-27T09:54:05+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/"},"wordCount":602,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp","articleSection":["magento","Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/","name":"How to setup Google reCAPTCHA in Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front-1200x534.webp","datePublished":"2024-04-05T11:15:34+00:00","dateModified":"2026-03-27T09:54:05+00:00","description":"how to set google Recaptcha in Magento-2 google Recaptcha, benefits and use of recaptcha, secure site using recaptcha","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front.webp","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/04\/recaptcha-front.webp","width":1291,"height":575,"caption":"recaptcha config"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-setup-google-recaptcha-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to setup Google reCAPTCHA in Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/da1ba586e53ff8058892b67831ef5f2f","name":"Tarun Pundhir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1bdeedccbb3dcb6e0ac6654bd5ea530f8b4acbe03497c98e7544b62d889a7499?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1bdeedccbb3dcb6e0ac6654bd5ea530f8b4acbe03497c98e7544b62d889a7499?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Tarun Pundhir"},"description":"Tarun is a proficient Software Engineer specializing in the Magento platform. With expertise in Magento Marketplace Development and API Development services, he delivers robust, scalable solutions that enhance eCommerce functionality, driving seamless integration and empowering businesses to thrive in the digital landscape","url":"https:\/\/webkul.com\/blog\/author\/tarun-pundhir408\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/432002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/518"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=432002"}],"version-history":[{"count":54,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/432002\/revisions"}],"predecessor-version":[{"id":532965,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/432002\/revisions\/532965"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=432002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=432002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=432002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}