1.0.3 • Published 5 years ago

@mparticle/gatsby-plugin-mparticle v1.0.3

Weekly downloads
47
License
MIT
Repository
github
Last release
5 years ago

gatsby-plugin-mparticle

A Gatsby plugin for mParticle

Usage

In your gatsby-js.config add:

module.exports = {
  plugins: [
    // Other plugins here...
    {
      resolve: '@mparticle/gatsby-plugin-mparticle',
      options: {
        apiKey: 'YOUR APP KEY',
        logPageViews: true or false,
        config: {
          'Your mParticle config object here, if needed e.g. isDevelopmentMode',
        },
      }
    }
  ]
}
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago