Skip to main content
View plugin on GitHub
See starters using this

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

Docs
Tutorials
Plugins
Blog
Showcase