Skip to content

Commit

Permalink
Remove Google Analytics specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
UnsignedArduino committed Jul 13, 2024
1 parent 7841def commit 7b8992e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Google Analytics measurement ID - not required
NEXT_PUBLIC_GA_MEASUREMENT_ID = "G-XXXXXXXXXX"
// Google Tag Manager ID - not required
// Used for Google Analytics and Adsense
NEXT_PUBLIC_GTM_ID = "GTM-XXXXXXXX"
// Google Adsense publisher ID - not required
NEXT_PUBLIC_ADSENSE_PUBLISHER_ID = "pub-XXXXXXXXXXXXXXXX"
// GitHub OAuth
GITHUB_ID = XXXXXXXXXXXXXXXXXXXX
GITHUB_SECRET = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Expand Down
6 changes: 2 additions & 4 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import "bootstrap/dist/css/bootstrap.css";
import "bootstrap-icons/font/bootstrap-icons.css";
import "katex/dist/katex.min.css";
import "tippy.js/dist/tippy.css";
import Adsense from "../components/Adsense";
import Analytics from "../components/Analytics";
import ErrorBoundary from "../components/ErrorBoundary";
import { SessionProvider } from "next-auth/react";
import { useRouter } from "next/router";
Expand Down Expand Up @@ -115,8 +113,8 @@ export default function AwesomeArcadeExtensions({
options={{ showSpinner: false }}
/>
<GoogleTagManager id={process.env.NEXT_PUBLIC_GTM_ID!} />
<Analytics />
<Adsense />
{/*<Analytics />*/}
{/*<Adsense />*/}
<GrowthBookProvider growthbook={growthbook}>
<SessionProvider session={session}>
<AnimatePresence
Expand Down

0 comments on commit 7b8992e

Please sign in to comment.