Gatsby plugin to add Klaviyo email marketing to your site.
npm install gatsby-plugin-klaviyonpm install --save gatsby-plugin-klaviyo
API key / Site ID' in bold.
In gatsby-config.js configure the plugin with your key:
`js
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-klaviyo',
options: {
klaviyoKey: 'your-klaviyo-key',
enableDuringDevelop: false, // Optional. Disables Klaviyo when running Gatsby dev server. Defaults to true.
},
},
],
}
``