Webinar

“Digging into Gatsby 5’s Slice API” Register now

ContactSign Up for Free
Community Plugin
View plugin on GitHub

gatsby-plugin-google-adsense

Gatsby Plugin to add Google Adsense auto ads to a website

Install

npm install --save gatsby-plugin-google-adsense

How to use

// In your gatsby-config.js file
plugins: [
    {
      resolve: `gatsby-plugin-google-adsense`,
      options: {
        publisherId: `ca-pub-xxxxxxxxxx`
      },
    },
]

Setup Auto ads

How to set up Auto ads

© 2022 Gatsby, Inc.