Skip to content

Commit

Permalink
Add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
sarsamurmu committed Aug 23, 2024
1 parent f3689dd commit 2df2a71
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
18 changes: 18 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@gsap/react": "^2.1.1",
"@next/third-parties": "^14.2.6",
"gsap": "^3.12.5",
"next": "14.2.5",
"react": "^18",
Expand Down
6 changes: 5 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Head from "next/head";
import Head from 'next/head';
import { GoogleAnalytics } from '@next/third-parties/google'
import { NameLogo, WelcomeText, BallAnimation, Leaves, About, Connect, GoodBye } from '@/components/animated_parts';
import s from '@/styles/home.module.scss'
import { BGText } from '@/components/bg_text';
Expand All @@ -17,6 +18,9 @@ export default function Home() {
}
`}</style>
</Head>

<GoogleAnalytics gaId='G-L102NQY8NS' />

<AnimManager>
<BGText />
<ScrollProgress />
Expand Down

0 comments on commit 2df2a71

Please sign in to comment.