1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:06:36 -04:00

custom fathom domain

This commit is contained in:
2021-12-30 11:00:15 -05:00
parent ff4bf9cc5d
commit 8bbc7e3cf2
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export default function App({ Component, pageProps }: AppProps) {
// https://usefathom.com/docs/integrations/next
// https://vercel.com/guides/deploying-nextjs-using-fathom-analytics-with-vercel
Fathom.load(config.fathomSiteId, {
url: `https://${config.fathomCustomDomain || "cdn.usefathom.com"}/script.js`,
includedDomains: [config.siteDomain],
});