Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

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
© 2023 Gatsby, Inc.