Skip to content

Commit c0c6ce3

Browse files
authored
Merge pull request #28 from magiclabs/ga-tracking
add google analytics tracking
2 parents 8be4bad + 50849d8 commit c0c6ce3

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@magic-ext/oauth2": "^13.0.0",
1515
"@magic-ext/solana": "^28.0.0",
1616
"@metamask/eth-sig-util": "^8.2.0",
17+
"@next/third-parties": "^16.0.3",
1718
"@radix-ui/react-tabs": "^1.1.13",
1819
"@solana/web3.js": "^1.98.4",
1920
"@types/prismjs": "^1.26.5",

pnpm-lock.yaml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { Metadata } from "next";
22
import { Geist, Geist_Mono } from "next/font/google";
3+
import { GoogleAnalytics } from "@next/third-parties/google";
34
import "./globals.css";
45
import { AppLayout } from "../components/AppLayout";
56

@@ -41,6 +42,7 @@ export default function RootLayout({
4142
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
4243
>
4344
<AppLayout>{children}</AppLayout>
45+
<GoogleAnalytics gaId="G-5NPC4VLEWE" />
4446
</body>
4547
</html>
4648
);

0 commit comments

Comments
 (0)