Skip to content

Commit

Permalink
feat: try umami analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
strdr4605 committed Jun 2, 2023
1 parent f3be821 commit f567919
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Router from "next/router";
import "prismjs/themes/prism.css";
import * as gtag from "../lib/gtag";
import "../styles/globals.css";
import Script from "next/script";

const isProduction = process.env.NODE_ENV === "production";

Expand All @@ -27,6 +28,11 @@ function MyApp({ Component, pageProps }: AppProps) {
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<Component {...pageProps} />
<Script
async
src="https://analytics.umami.is/script.js"
data-website-id="ffd94eb4-d3a5-4505-bcd4-35c97edc57c8"
/>
</>
);
}
Expand Down

0 comments on commit f567919

Please sign in to comment.