Skip to content

Commit

Permalink
Add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Sep 20, 2024
1 parent 130ae64 commit ae87bc3
Show file tree
Hide file tree
Showing 4 changed files with 19,039 additions and 15,721 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: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
3 changes: 2 additions & 1 deletion 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 @@ -122,7 +123,7 @@
"mdast-util-from-markdown": "^2.0.0",
"micromark": "^4.0.0",
"msgpackr": "^1.10.1",
"next": "^14.0.3",
"next": "^14.2.13",
"next-compose-plugins": "^2.2.1",
"next-mdx-remote": "^4.4.1",
"node-fetch": "^3.3.2",
Expand Down
Loading

0 comments on commit ae87bc3

Please sign in to comment.