1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
import { Html, Head, Main, NextScript } from 'next/document';
import Script from 'next/script';
export default function MyDocument() {
const env = process.env.NODE_ENV;
return (
<Html>
<Head>
<link rel='preconnect' href='https://connect.facebook.net' />
<link rel='preconnect' href='https://googleads.g.doubleclick.net' />
<link rel='preconnect' href={process.env.NEXT_PUBLIC_ODOO_API_HOST} />
<link rel='icon' href='/favicon.ico' />
<link rel='manifest' href='/manifest.json' />
<link rel='apple-touch-icon' href='/icon.jpg'></link>
<link
rel='apple-touch-startup-image'
href='/images/splash/launch.png'
/>
<meta name='mobile-web-app-capable' content='yes' />
<meta name='apple-mobile-web-app-capable' content='yes' />
<meta name='apple-mobile-web-app-status-bar-style' content='default' />
<meta name='apple-mobile-web-app-title' content='Indoteknik.com' />
<meta name='theme-color' content='#fff' />
<link rel='prefetch' href='/images/logo-indoteknik-gear.png' />
<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: `
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
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: `
(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
async
strategy='beforeInteractive'
src='https://www.googletagmanager.com/gtag/js?id=AW-954540379'
/>
<Script
id='google-ads'
strategy='afterInteractive'
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-954540379');`,
}}
/>
{/* <Script
id='tawk-script-tag'
strategy='afterInteractive'
dangerouslySetInnerHTML={{
__html: `
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/643e00614247f20fefec36c5/1gu932vhh';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
`
}}
/> */}
<meta
name='google-site-verification'
content='uHuW_mZhjv_fUg3do-lV8Mo7R2vVjF4MPQhTXFP3jH4'
/>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
|