Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/src/components/google-analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare global {
}
}

const GA_MEASUREMENT_ID = "G-NR69JM4TK2";
const GA_MEASUREMENT_ID = "G-6C41CN6BC6";

export function GoogleAnalytics() {
const pathname = usePathname();
Expand Down
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@
return (
<html lang="en" className="dark">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N333B1RWMB" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T14Q1LDRC0" />

Check warning on line 105 in src/app/layout.tsx

View workflow job for this annotation

GitHub Actions / Lint & Build

Prefer `next/script` component when using the inline script for Google Analytics. See: https://nextjs.org/docs/messages/next-script-for-ga
<script dangerouslySetInnerHTML={{ __html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-N333B1RWMB');
gtag('config', 'G-T14Q1LDRC0');
`}} />
</head>
<body className={`${inter.className} bg-surface text-text-primary antialiased`}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/GoogleAnalytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ declare global {
}
}

const GA_MEASUREMENT_ID = "G-N333B1RWMB";
const GA_MEASUREMENT_ID = "G-T14Q1LDRC0";

export function GoogleAnalytics() {
const pathname = usePathname();
Expand Down
Loading