Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub


Appends the reCAPTCHA .js snippet to your Gatsby site. Works great with react-recaptcha.


With npm:

npm install --save gatsby-plugin-recaptcha

Or with Yarn:

yarn add gatsby-plugin-recaptcha


// In your gatsby-config.js
plugins: [`gatsby-plugin-recaptcha`]


  • async: Add an async attribute to the script tag (default: true)
  • defer: Add a defer attribute to the script tag (default: false)
  • args: Append a string to the end of the script URL (default: "")
plugins: [
      resolve: `gatsby-plugin-recaptcha`,
      options: {
         async: false,
         defer: false,
         args: `?onload=onloadCallback&render=explicit`,
© 2022 Gatsby, Inc.