Skip to content

Commit 2213b8e

Browse files
committed
remove google analytics
1 parent 1f91cd8 commit 2213b8e

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

pages/_app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const App = ({ Component, pageProps }) => {
1010
<ThemeProvider theme={theme}>
1111
{process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' && (
1212
<Script
13-
strategy='lazyOnload'
1413
data-domain='carbonplan.org'
1514
data-api='https://carbonplan.org/proxy/api/event'
1615
src='https://carbonplan.org/js/script.file-downloads.outbound-links.js'

pages/_document.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import Document, { Html, Main, NextScript, Head } from 'next/document'
2-
import { Tracking } from '@carbonplan/components'
32
import { InitializeColorMode } from 'theme-ui'
43

54
class MyDocument extends Document {
65
render() {
76
return (
87
<Html className='no-focus-outline'>
9-
<Head>
10-
<Tracking id={process.env.GA_TRACKING_ID} />
11-
</Head>
8+
<Head />
129
<body>
1310
<InitializeColorMode />
1411
<Main />

0 commit comments

Comments
 (0)