See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub


Easily add Twitter Pixel to your Gatsby site. At this time, ‘PageView’ events is triggered via onRouteUpdate.


npm install --save gatsby-plugin-twitter-pixel

How to use

// In your gatsby-config.js
plugins: [
    resolve: `gatsby-plugin-twitter-pixel`,
    options: {
      pixelId: 'pixel id here',


Thanks to for a great base for this plugin!

© 2022 Gatsby, Inc.