Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit ddacdbc

Browse files
authored
feat: Merge pull request #439 from newrelic/add_segment_plugin
feat: adding segment
2 parents 28b897e + 30c384a commit ddacdbc

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

gatsby-config.js

+10
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ module.exports = {
3333
minify: true
3434
}
3535
},
36+
{
37+
resolve: `gatsby-plugin-segment-js`,
38+
options: {
39+
prodKey: `jzjQisi3j3VvLyH9mc0QNEgYKpj4LlD1`,
40+
devKey: `jzjQisi3j3VvLyH9mc0QNEgYKpj4LlD1`,
41+
trackPage: false,
42+
delayLoad: false,
43+
delayLoadTime: 1000
44+
}
45+
},
3646
{
3747
resolve: `gatsby-source-filesystem`,
3848
options: {

package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"gatsby-plugin-offline": "^3.2.7",
1717
"gatsby-plugin-react-helmet": "^3.3.2",
1818
"gatsby-plugin-sass": "^2.3.2",
19+
"gatsby-plugin-segment-js": "^3.3.0",
1920
"gatsby-plugin-sharp": "^2.6.9",
2021
"gatsby-plugin-use-dark-mode": "^1.1.2",
2122
"gatsby-remark-copy-linked-files": "^2.3.3",

0 commit comments

Comments
 (0)