@mparticle/gatsby-plugin-mparticle

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i @mparticle/gatsby-plugin-mparticle

Weekly Downloads

62

Version

1.0.3

License

MIT

Unpacked Size

7.51 kB

Total Files

10

Last publish

Collaborators

  • mparticle-ci
  • bstalnaker
  • willpassidomo
  • alexs-mparticle
  • tbreffni
  • danhendrix
  • peterjenkins
  • rmi22186
  • samdozor
  • mparticle-teamcity