Skip to content

Commit

Permalink
re-implement google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Sep 24, 2024
1 parent 48147a3 commit f5f5eff
Show file tree
Hide file tree
Showing 3 changed files with 19,051 additions and 15,704 deletions.
3 changes: 3 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { GoogleTagManager } from '@next/third-parties/google'
import { Analytics } from "@vercel/analytics/react"
import { Antonio, Libre_Baskerville, Open_Sans } from "next/font/google"
import "styles/tailwind.css"
Expand All @@ -6,6 +7,7 @@ import "styles/global.css"
import Footer from "components/Footer"
import Nav from "components/Nav"
import { ReportLoadingShade } from "components/ReportLoadingShade/ReportLoadingShade"

// import { WipTag } from "components/WipTag"

// import Transitions, { Animate } from "components/Transition"
Expand All @@ -32,6 +34,7 @@ const openSans = Open_Sans({
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" className={`${antonio.variable} ${libreBaskerville.variable} ${openSans.variable} fontSans`}>
<GoogleTagManager gtmId="GTM-WZWPHCG" />
<body>
{/* <Transitions> */}
<Nav />
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@mdx-js/react": "^3.0.1",
"@next/bundle-analyzer": "^14.0.3",
"@next/mdx": "^14.1.3",
"@next/third-parties": "^14.2.13",
"@polkadot/util": "^12.6.2",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-accordion": "^1.1.2",
Expand Down Expand Up @@ -113,6 +114,7 @@
"duckdb": "^0.10.2",
"duckdb-wasm-kit": "^0.1.31",
"framer-motion": "^11.2.9",
"google": "link:@next/third-parties/google",
"gray-matter": "^4.0.3",
"hi": "link:@types/react-icons/hi",
"http-server": "^14.1.1",
Expand Down
Loading

0 comments on commit f5f5eff

Please sign in to comment.