Skip to content

Commit

Permalink
feat: add plausible analytics
Browse files Browse the repository at this point in the history
Just reuse ppresume analytics infra here
  • Loading branch information
xiaohanyu committed Jan 6, 2025
1 parent 3105712 commit badac55
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@ import '@/styles/globals.css'
import type { AppProps } from 'next/app'

export default function App({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />
return (
<>
<script
defer
data-domain="debug.health"
src="https://plausible.ppresume.com/js/script.js"
></script>
<Component {...pageProps} />
</>
)
}

0 comments on commit badac55

Please sign in to comment.