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


Gatsby plugin to add Rollbar error tracking to your site.

Learn more about Rollbar here.


npm install --save gatsby-plugin-rollbar

How to use

// In your gatsby-config.js
plugins: [
    resolve: "gatsby-plugin-rollbar",
    options: {
      accessToken: "YOUR_ROLLBAR_ACCESS_TOKEN",
      // For all configuration options, see
      captureUncaught: true,
      captureUnhandledRejections: true,
      payload: {
        environment: "production"