Skip to content

Commit c2c73b5

Browse files
authored
Merge pull request #8 from javaistic/uiuxarghya/issue7
Search not working properly.
2 parents b69bf41 + 5f92d89 commit c2c73b5

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

pages/_document.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,6 @@ class MyDocument extends Document {
1111
rel="stylesheet"
1212
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
1313
/>
14-
{/* Global Site Tag (gtag.js) - Google Analytics */}
15-
<script
16-
async
17-
src={`https://www.googletagmanager.com/gtag/js?id=${process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS}`}
18-
/>
19-
<script
20-
dangerouslySetInnerHTML={{
21-
__html: `
22-
window.dataLayer = window.dataLayer || [];
23-
function gtag(){dataLayer.push(arguments);}
24-
gtag('js', new Date());
25-
gtag('config', '${process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS}', {
26-
page_path: window.location.pathname,
27-
});
28-
`,
29-
}}
30-
/>
3114
</Head>
3215
<body>
3316
<SkipNavLink />

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy