gatsby-plugin-segment
Usage
In your gatsby-config.js
, add:
module.exports = {
plugins: [
// your other plugins...
{
resolve: 'gatsby-plugin-segment',
options: {
writeKey: 'YOUR WRITE KEY'
}
}
]
}
License
MIT