File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Google Tag Manager ID - not required
2- // Used for Google Analytics and Adsense
3- NEXT_PUBLIC_GTM_ID = " GTM-XXXXXXXX"
1+ // Google Analytics measurement ID - not required
2+ NEXT_PUBLIC_GA_MEASUREMENT_ID = " G-XXXXXXXXXX"
3+ // Google Adsense publisher ID - not required
4+ NEXT_PUBLIC_ADSENSE_PUBLISHER_ID = " pub-XXXXXXXXXXXXXXXX"
45// GitHub OAuth
56GITHUB_ID = XXXXXXXXXXXXXXXXXXXX
67GITHUB_SECRET = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Original file line number Diff line number Diff line change 5050 "prepare" : " husky install"
5151 },
5252 "dependencies" : {
53- "@codemirror/language" : " 6.0.0" ,
5453 "@growthbook/growthbook-react" : " ^1.1.0" ,
55- "@magicul/next-google-tag-manager" : " ^2.0.0" ,
5654 "@popperjs/core" : " 2.11.8" ,
5755 "@tippyjs/react" : " ^4.2.6" ,
5856 "@types/bootstrap" : " ^5.2.10" ,
8987 "remark-parse" : " ^11.0.0" ,
9088 "remark-rehype" : " ^11.1.0" ,
9189 "sass" : " ^1.77.7" ,
92- "scheduler" : " ^0.19.0" ,
9390 "tinacms" : " ^1.6.5" ,
9491 "tippy.js" : " ^6.3.7" ,
95- "unified" : " ^11.0.5"
92+ "unified" : " ^11.0.5" ,
93+ "scheduler" : " ^0.19.0" ,
94+ "@codemirror/language" : " 6.0.0"
9695 },
9796 "devDependencies" : {
9897 "@tinacms/cli" : " ^1.5.47" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import "bootstrap/dist/css/bootstrap.css";
55import "bootstrap-icons/font/bootstrap-icons.css" ;
66import "katex/dist/katex.min.css" ;
77import "tippy.js/dist/tippy.css" ;
8+ import Adsense from "../components/Adsense" ;
9+ import Analytics from "../components/Analytics" ;
810import ErrorBoundary from "../components/ErrorBoundary" ;
911import { SessionProvider } from "next-auth/react" ;
1012import { useRouter } from "next/router" ;
@@ -13,7 +15,6 @@ import growthbook from "@/components/FeatureFlags";
1315import { AnimatePresence } from "framer-motion" ;
1416import { Theme } from "@/components/Navbar/ThemePicker/themePicker" ;
1517import { ACCENT_COLOR } from "@/themes/colors" ;
16- import GoogleTagManager from "@magicul/next-google-tag-manager" ;
1718
1819export type BootstrapLibContextType = typeof import ( "bootstrap" ) | null ;
1920export const BootstrapLibContext =
@@ -112,9 +113,8 @@ export default function AwesomeArcadeExtensions({
112113 color = { ACCENT_COLOR [ nprogressTheme ] }
113114 options = { { showSpinner : false } }
114115 />
115- < GoogleTagManager id = { process . env . NEXT_PUBLIC_GTM_ID ! } />
116- { /*<Analytics />*/ }
117- { /*<Adsense />*/ }
116+ < Analytics />
117+ < Adsense />
118118 < GrowthBookProvider growthbook = { growthbook } >
119119 < SessionProvider session = { session } >
120120 < AnimatePresence
Original file line number Diff line number Diff line change 11131113 dependencies :
11141114 " @lezer/common" " ^1.0.0"
11151115
1116- " @magicul/next-google-tag-manager@^2.0.0 " :
1117- version "2.0.0"
1118- resolved "https://registry.yarnpkg.com/@magicul/next-google-tag-manager/-/next-google-tag-manager-2.0.0.tgz#04a77b506a4385f84cf637267984bd6f334f5ce0"
1119- integrity sha512-NXp0iGxdcAZL9IkkWwh2GS3dE1qSn4hGxXADnvt1li4gAXyxJ9AEDTrgqMVXIDzkGTD7Q0n37BJoCZdmwIXE+g==
1120-
11211116" @monaco-editor/loader@^1.3.2 " :
11221117 version "1.4.0"
11231118 resolved "https://registry.yarnpkg.com/@monaco-editor/loader/-/loader-1.4.0.tgz#f08227057331ec890fa1e903912a5b711a2ad558"
You can’t perform that action at this time.
0 commit comments