File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Google Analytics measurement ID - not required
22NEXT_PUBLIC_GA_MEASUREMENT_ID = " G-XXXXXXXXXX"
3+ // Google Tag Manager ID - not required
4+ NEXT_PUBLIC_GTM_ID = " GTM-XXXXXXXX"
35// Google Adsense publisher ID - not required
46NEXT_PUBLIC_ADSENSE_PUBLISHER_ID = " pub-XXXXXXXXXXXXXXXX"
57// GitHub OAuth
Original file line number Diff line number Diff line change 5050 "prepare" : " husky install"
5151 },
5252 "dependencies" : {
53+ "@codemirror/language" : " 6.0.0" ,
5354 "@growthbook/growthbook-react" : " ^1.1.0" ,
55+ "@magicul/next-google-tag-manager" : " ^2.0.0" ,
5456 "@popperjs/core" : " 2.11.8" ,
5557 "@tippyjs/react" : " ^4.2.6" ,
5658 "@types/bootstrap" : " ^5.2.10" ,
8789 "remark-parse" : " ^11.0.0" ,
8890 "remark-rehype" : " ^11.1.0" ,
8991 "sass" : " ^1.77.7" ,
92+ "scheduler" : " ^0.19.0" ,
9093 "tinacms" : " ^1.6.5" ,
9194 "tippy.js" : " ^6.3.7" ,
92- "unified" : " ^11.0.5" ,
93- "scheduler" : " ^0.19.0" ,
94- "@codemirror/language" : " 6.0.0"
95+ "unified" : " ^11.0.5"
9596 },
9697 "devDependencies" : {
9798 "@tinacms/cli" : " ^1.5.47" ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import growthbook from "@/components/FeatureFlags";
1515import { AnimatePresence } from "framer-motion" ;
1616import { Theme } from "@/components/Navbar/ThemePicker/themePicker" ;
1717import { ACCENT_COLOR } from "@/themes/colors" ;
18+ import GoogleTagManager from "@magicul/next-google-tag-manager" ;
1819
1920export type BootstrapLibContextType = typeof import ( "bootstrap" ) | null ;
2021export const BootstrapLibContext =
@@ -113,6 +114,7 @@ export default function AwesomeArcadeExtensions({
113114 color = { ACCENT_COLOR [ nprogressTheme ] }
114115 options = { { showSpinner : false } }
115116 />
117+ < GoogleTagManager id = { process . env . NEXT_PUBLIC_GTM_ID ! } />
116118 < Analytics />
117119 < Adsense />
118120 < GrowthBookProvider growthbook = { growthbook } >
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+
11161121" @monaco-editor/loader@^1.3.2 " :
11171122 version "1.4.0"
11181123 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