Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
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

© 2024 Gatsby, Inc.