Skip to main content
View plugin on GitHub
See starters using this

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
    },
  },
],

Docs
Tutorials
Plugins
Blog
Showcase