Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-amplitude

Gatsby plugin for Amplitude.

Install

yarn add gatsby-plugin-amplitude

Usage

// In your gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-plugin-amplitude',
    options: {
      apiKey: 'YOUR-API-KEY',
      enableOnDevMode: true // if 'false', will be fired on NODE_ENV=production only
    },
  },
],
© 2024 Gatsby, Inc.