Skip to content

Commit 151b90c

Browse files
committed
Cloudflare Rocket Loader ๋ฌด์‹œ (PyTorchKorea#61)
1 parent ab570f3 commit 151b90c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

โ€Ž_includes/analytics.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Global site tag (gtag.js) - Google Analytics -->
22
<script async src="https://www.googletagmanager.com/gtag/js?id=G-LEHG248408"></script>
3-
<script>
3+
<script data-cfasync="false">
44
window.dataLayer = window.dataLayer || [];
55
function gtag(){dataLayer.push(arguments);}
66
gtag('js', new Date());

โ€Ž_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<head>
22
<!-- Google Tag Manager -->
3-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
3+
<script data-cfasync="false">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
44
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
55
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
66
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);

โ€Ž_includes/tag_manager_script.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<!-- Google Tag Manager (noscript) -->
2-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-57L6X5C"
2+
<noscript data-cfasync="false"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-57L6X5C"
33
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
44
<!-- End Google Tag Manager (noscript) -->

0 commit comments

Comments
ย (0)