Browse Source

fix: fathom analytics

fix/wrong-prop-name
Patrick Gray 4 years ago
committed by Patrick Gray
parent
commit
d3eb9a1a1f
  1. 2
      next.config.js
  2. 2
      src/common/hooks/use-fathom.ts

2
next.config.js

@ -901,7 +901,7 @@ module.exports = withFonts(
trailingSlash: true, trailingSlash: true,
}, },
env: { env: {
FATHOM_ID: 'EPNTIXUM', FATHOM_ID: 'FOEMPXUV',
}, },
redirects, redirects,
pageExtensions: ['js', 'ts', 'tsx', 'md', 'mdx'], pageExtensions: ['js', 'ts', 'tsx', 'md', 'mdx'],

2
src/common/hooks/use-fathom.ts

@ -7,7 +7,7 @@ export const useFathom = () => {
useEffect(() => { useEffect(() => {
Fathom.load(process.env.FATHOM_ID, { Fathom.load(process.env.FATHOM_ID, {
includedDomains: ['docs.blockstack.org'], includedDomains: ['docs.stacks.co'],
}); });
function onRouteChangeComplete() { function onRouteChangeComplete() {

Loading…
Cancel
Save