Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-quantcast-tag

Gatsby plugin to add a Quantcast tracking tag onto a site.

Install

npm install --save gatsby-plugin-quantcast-tag

How to use

// gatsby-config.js

module.exports = {
  plugins: [
    // This plugin should only appear in your gatsby-config.js file once.
    {
      resolve: 'gatsby-plugin-quantcast-tag',
      options: {
        // Quantcast account ID to associate tracking.
        acccountId: 'sampletAccountId',

        // If true, add tracking code to head. Otherwise, tracking code is
        // added to the bottom of body.
        head: false,
      },
    },
  ],
}
© 2023 Gatsby, Inc.