See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
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
    },
  },
],
© 2022 Gatsby, Inc.