gatsby-plugin-amplitude

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i gatsby-plugin-amplitude

Weekly Downloads

85

Version

0.1.0

License

MIT

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • negativetwelve