Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-heap

Gatsby plugin for Heap Analytics.

Install

yarn add gatsby-plugin-heap

Usage

// In your gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-plugin-heap',
    options: {
      appId: 'YOUR-APP-ID',
      enableOnDevMode: true // if 'false', heap will be fired on NODE_ENV=production only
    },
  },
],
© 2024 Gatsby, Inc.