Skip to content

Commit

Permalink
feat(stats): add umami tracker script
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Jun 9, 2023
1 parent 4a41a07 commit d179569
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { Metadata } from 'next'
import { Providers } from './providers'

import '@/styles/main.css'
import Script from 'next/script'

export const metadata: Metadata = {
title: 'mfg-b',
Expand Down Expand Up @@ -47,6 +48,11 @@ export default function RootLayout({
href="https://cdn.jsdelivr.net/npm/katex/dist/katex.css"
crossOrigin="anonymous"
/>
<Script
async
src="https://analytics.umami.is/script.js"
data-website-id={process.env.UMAMI_WEBSITE_ID}
/>
</head>
<body className="scroll-smooth">
<Providers>{children}</Providers>
Expand Down

0 comments on commit d179569

Please sign in to comment.