Skip to content

Commit

Permalink
[no-issue] feat: analytics provider 변경 (vercel -> GA4) (#27)
Browse files Browse the repository at this point in the history
* [no-issue] feat: analytics vercel에서 ga4로 교체
* [no-issue] remove: vercel analytics 디펜던시
  • Loading branch information
luciancah authored Jul 25, 2024
1 parent a58cbf6 commit 04f768e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 29 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/nextjs-ko#readme",
"dependencies": {
"@vercel/analytics": "^1.3.1",
"@next/third-parties": "^14.2.5",
"next": "^13.0.6",
"next-themes": "^0.3.0",
"nextra": "latest",
Expand Down
4 changes: 2 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { AppProps } from 'next/app'
import { Analytics } from '@vercel/analytics/react'
import { GoogleAnalytics } from '@next/third-parties/google'

export default function Nextra({ Component, pageProps }: AppProps) {
return (
<>
<Component {...pageProps} />
<Analytics />
<GoogleAnalytics gaId="G-5ZM6QTQJW5" />
</>
)
}
46 changes: 20 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 04f768e

Please sign in to comment.