@mparticle/gatsby-plugin-mparticle
v1.0.3
Published
Gatsby plugin to add mParticle to a site
Downloads
164
Readme
gatsby-plugin-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',
},
}
}
]
}