Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-metomic

Easily add metomic cookie consent to your Gatsby site.

Install

npm install --save gatsby-plugin-metomic

OR

yarn add gatsby-plugin-metomic

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-metomic`,
      options: {
        clientId: "YOUR_METOMIC_CLIENT_ID",
      },
    },
  ],
}
© 2023 Gatsby, Inc.