summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-06 11:28:08 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-06 11:28:08 +0700
commit30fc50600009ca54f085d594d838803c107e87f2 (patch)
tree4bee5ab749ea4088271458ae8dfb53a614d6da0b /src/pages
parentd994eda7bdb06805a6dc24240d2c7db034d1fc77 (diff)
fix document page
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/_document.jsx78
1 files changed, 37 insertions, 41 deletions
diff --git a/src/pages/_document.jsx b/src/pages/_document.jsx
index a1725b73..dbe210aa 100644
--- a/src/pages/_document.jsx
+++ b/src/pages/_document.jsx
@@ -9,61 +9,59 @@ export default function MyDocument() {
<Head>
<link rel='icon' href='/favicon.ico' />
- {env === 'production' && (
- <>
- <meta name='facebook-domain-verification' content='328wmjs7hcnz74rwsqzxvq50rmbtm2' />
- <Script
- async
- strategy='beforeInteractive'
- src='https://www.googletagmanager.com/gtag/js?id=UA-10501937-1'
- />
+ <meta name='facebook-domain-verification' content='328wmjs7hcnz74rwsqzxvq50rmbtm2' />
+ <Script
+ async
+ strategy='beforeInteractive'
+ src='https://www.googletagmanager.com/gtag/js?id=UA-10501937-1'
+ />
- <Script
- id='google-analytics-ua'
- strategy='beforeInteractive'
- dangerouslySetInnerHTML={{
- __html: `
+ <Script
+ id='google-analytics-ua'
+ strategy='beforeInteractive'
+ dangerouslySetInnerHTML={{
+ __html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-10501937-1');
`
- }}
- />
+ }}
+ />
- <Script
- async
- strategy='beforeInteractive'
- src='https://www.googletagmanager.com/gtag/js?id=G-G1W8MNZ11P'
- />
+ <Script
+ async
+ strategy='beforeInteractive'
+ src='https://www.googletagmanager.com/gtag/js?id=G-G1W8MNZ11P'
+ />
- <Script
- id='google-analytics-ga'
- strategy='beforeInteractive'
- dangerouslySetInnerHTML={{
- __html: `
+ <Script
+ id='google-analytics-ga'
+ strategy='beforeInteractive'
+ dangerouslySetInnerHTML={{
+ __html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-G1W8MNZ11P');
`
- }}
- />
+ }}
+ />
- <Script
- id='google-tag-manager'
- strategy='afterInteractive'
- dangerouslySetInnerHTML={{
- __html: `
+ <Script
+ id='google-tag-manager'
+ strategy='afterInteractive'
+ dangerouslySetInnerHTML={{
+ __html: `
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var
f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHRB7RP');
`
- }}
- />
+ }}
+ />
- {/* <Script
+ {/* <Script
id='tawk-script-tag'
strategy='afterInteractive'
dangerouslySetInnerHTML={{
@@ -81,12 +79,10 @@ export default function MyDocument() {
}}
/> */}
- <meta
- name='google-site-verification'
- content='uHuW_mZhjv_fUg3do-lV8Mo7R2vVjF4MPQhTXFP3jH4'
- />
- </>
- )}
+ <meta
+ name='google-site-verification'
+ content='uHuW_mZhjv_fUg3do-lV8Mo7R2vVjF4MPQhTXFP3jH4'
+ />
</Head>
<body>
<Main />