Skip to content

Commit

Permalink
adopt plausible and abandon Google Ads
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Nov 18, 2024
1 parent ad331a6 commit 73bce71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/components/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ import type { AppProps } from 'next/app'

import AppProviders from './AppProviders'
import ErrorBoundary from './ErrorBoundary'
import GoogleAds from './GoogleAds'
import PageSkeleton from './PageSkeleton'

function AppLayout({ Component, pageProps }: AppProps | any) {
return (
<AppProviders>
<ErrorBoundary>
<PageSkeleton>
<GoogleAds />
<Component {...pageProps} />
</PageSkeleton>
</ErrorBoundary>
Expand Down
7 changes: 7 additions & 0 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Document, { Head, Html, Main, NextScript } from 'next/document'

import DocumentHeadContent from '@/lib/components/layout/DocumentHeadContent'
import Script from 'next/script'

class RootDocument extends Document {
render() {
Expand All @@ -10,6 +11,12 @@ class RootDocument extends Document {
<DocumentHeadContent />
</Head>
<body>
<Script
defer
data-domain="supereffective.gg"
data-api="https://plaw.itsjavi.com/api/plaw"
src="https://plaw.itsjavi.com/js/plaw.tagged-events.js"
/>
<Main />
<NextScript />
{/* <script
Expand Down

1 comment on commit 73bce71

@vercel
Copy link

@vercel vercel bot commented on 73bce71 Nov 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.