mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-23 12:34:29 -04:00
custom fathom domain
This commit is contained in:
@@ -6,6 +6,7 @@ export const longDescription =
|
||||
"Hi there! I'm a frontend web developer based in Boston, Massachusetts specializing in the JAMstack, modern JavaScript frameworks, and progressive web apps.";
|
||||
export const githubRepo = "jakejarvis/jarv.is";
|
||||
export const fathomSiteId = "WBGNQUKW";
|
||||
export const fathomCustomDomain = "blue-chilly.jarv.is";
|
||||
|
||||
let baseURL = ""; // default to relative URLs
|
||||
if (process.env.NEXT_PUBLIC_VERCEL_ENV === "production") {
|
||||
|
@@ -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],
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user