Skip to content

Commit

Permalink
added an google analytics support
Browse files Browse the repository at this point in the history
  • Loading branch information
GokuxSS4 committed Jan 26, 2025
1 parent 87178c0 commit 28037d1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import React from "react";

import { GoogleAnalytics } from "@next/third-parties/google";
import type { Metadata } from "next";
import { Roboto } from "next/font/google";

Expand Down Expand Up @@ -47,6 +49,7 @@ export default function RootLayout({
{children}
<Footer />
</body>
<GoogleAnalytics gaId="G-KSX0KG52CK" />
</html>
);
}
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 @@ -12,6 +12,7 @@
"format:fix": "prettier --write \"**/*.{ts,tsx,json}\""
},
"dependencies": {
"@next/third-parties": "^15.1.6",
"@types/react-slick": "^0.23.13",
"@vidstack/react": "next",
"@warren-bank/hls-proxy": "^3.5.4",
Expand Down

0 comments on commit 28037d1

Please sign in to comment.