Skip to content

Commit 6d00877

Browse files
authored
Merge pull request #459 from processing/add-fathom-plugin
Add fathom plugin for privacy-preserving and GDPR-compliant analytics
2 parents d0f654e + 5902b36 commit 6d00877

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

gatsby-config.js

+7
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,13 @@ module.exports = {
199199
include: path.resolve(__dirname, 'src/images')
200200
}
201201
}
202+
},
203+
{
204+
resolve: 'gatsby-plugin-fathom',
205+
options: {
206+
// Unique site id
207+
siteId: 'DKYMXLKT'
208+
}
202209
}
203210
]
204211
};

package-lock.json

+42
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
@@ -41,6 +41,7 @@
4141
"classnames": "^2.3.1",
4242
"copy-to-clipboard": "^3.3.2",
4343
"gatsby": "^4.22.0",
44+
"gatsby-plugin-fathom": "^2.1.1",
4445
"gatsby-plugin-image": "^2.22.0",
4546
"gatsby-plugin-manifest": "^4.22.0",
4647
"gatsby-plugin-mdx": "2.14.2",

0 commit comments

Comments
 (0)