diff --git a/gatsby-config.js b/gatsby-config.js index 20f9c6aac9..7e329245de 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -33,6 +33,16 @@ module.exports = { minify: true } }, + { + resolve: `gatsby-plugin-segment-js`, + options: { + prodKey: `jzjQisi3j3VvLyH9mc0QNEgYKpj4LlD1`, + devKey: `jzjQisi3j3VvLyH9mc0QNEgYKpj4LlD1`, + trackPage: false, + delayLoad: false, + delayLoadTime: 1000 + } + }, { resolve: `gatsby-source-filesystem`, options: { diff --git a/package-lock.json b/package-lock.json index ebc2c9a12f..ad24d53036 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11308,6 +11308,11 @@ } } }, + "gatsby-plugin-segment-js": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-segment-js/-/gatsby-plugin-segment-js-3.3.0.tgz", + "integrity": "sha512-uN3gux4dR+umTI9C73s1V9kgcnDi4jenyTaS0/KqbxPCEQcntXFf/UJoMJCi//FILoYoU373vLmnTShlRyV/mw==" + }, "gatsby-plugin-sharp": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.9.tgz", diff --git a/package.json b/package.json index 56c79d7236..caae0988f9 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "gatsby-plugin-offline": "^3.2.7", "gatsby-plugin-react-helmet": "^3.3.2", "gatsby-plugin-sass": "^2.3.2", + "gatsby-plugin-segment-js": "^3.3.0", "gatsby-plugin-sharp": "^2.6.9", "gatsby-plugin-use-dark-mode": "^1.1.2", "gatsby-remark-copy-linked-files": "^2.3.3",