Skip to content

Commit

Permalink
Merge pull request #25 from carbonplan/Shane98c/rm-ga
Browse files Browse the repository at this point in the history
remove google analytics
  • Loading branch information
Shane98c authored Feb 11, 2025
2 parents 693cb19 + f1739d0 commit e6fcb5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default function App({ Component, pageProps }) {
<Component {...pageProps} />
{process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' && (
<Script
strategy='lazyOnload'
data-domain='carbonplan.org'
data-api='https://carbonplan.org/proxy/api/event'
src='https://carbonplan.org/js/script.file-downloads.outbound-links.js'
Expand Down
5 changes: 1 addition & 4 deletions pages/_document.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Document, { Html, Main, NextScript, Head } from 'next/document'
import { Tracking } from '@carbonplan/components'
import { InitializeColorMode } from 'theme-ui'

class MyDocument extends Document {
Expand All @@ -10,9 +9,7 @@ class MyDocument extends Document {
style={{ backgroundColor: 'rgb(240, 240, 240)' }}
className='no-focus-outline'
>
<Head>
<Tracking />
</Head>
<Head />
<body>
<InitializeColorMode />
<Main />
Expand Down

0 comments on commit e6fcb5c

Please sign in to comment.