gatsby-plugin-amplitude

Gatsby plugin for Amplitude.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gatsby-plugin-amplitude
000.1.04 years ago4 years agoMinified + gzip package size for gatsby-plugin-amplitude in KB

Readme

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
    },
  },
],