Skip to content

Easily add Amazon oneTag to your Gatsby site.

License

Notifications You must be signed in to change notification settings

zsoltiii/gatsby-plugin-amazon-onetag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-plugin-amazon-onetag

Easily add Amazon oneTag to your Gatsby site.

Install

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 https://affiliate-program.amazon.com/home/tools/onetag
      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"
    }
  }
]

About

Easily add Amazon oneTag to your Gatsby site.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published