gatsby-plugin-pirsch

Easily add Pirsch to your Gatsby site.

Install

npm install --save gatsby-plugin-pirsch

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-pirsch`,
    options: {
      dataCode: 'PIRSCH_WEBSITE_DATA_CODE',
      includeInDevelopment: false
    },
  },
]

Configuration

  • dataCode - Required. Your pirsch identification code
  • includeInDevelopment - Optional. Defaults to false