Skip to content

Commit 39f9889

Browse files
authored
Merge pull request #173 from carbonplan/Shane98c/rm-ga
remove google analytics
2 parents 5b17da9 + 0b400f6 commit 39f9889

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pages/_app.js

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

pages/_document.js

+1-4
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 lang='en' 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)