gatsby-plugin-parsely-analytics
Easily add Parse.ly Analytics to your Gatsby site.
Installation
npm install --save gatsby-plugin-parsely-analytics
Or
yarn add gatsby-plugin-parsely-analytics
Usage
In your gatsby-config.js
file, modify the plugins
array:
plugins: [
{
resolve: `gatsby-plugin-parsely-analytics`,
options: {
apikey: YOUR_PARSELY_APIKEY,
enableInDevelopment: false // send page views when NODE_ENV !== prod
}
}
];