Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
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
© 2022 Gatsby, Inc.