Real World Performance: lazy loading, optimizing media, faster analytics join us Wednesday

ContactSign Up
Community Plugin
View plugin on GitHub


Easily add Amazon oneTag to your Gatsby site.


npm install --save gatsby-plugin-amazon-onetag

How to use

// In your gatsby-config.js
plugins: [
    resolve: `gatsby-plugin-amazon-onetag`,
    options: {
      // Grab this from
      adInstanceId: "YOUR_AD_INSTANCE_ID",
      // Include Amazon oneTag in development.
      // Defaults to false meaning Amazon oneTag will only be loaded in production.
      includeInDevelopment: false,
      // Default marketplace is US
      marketplace: "US"
© 2023 Gatsby, Inc.