Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
feat: 구글 태그매니져 스크립트 수정 resolve #67
Browse files Browse the repository at this point in the history
  • Loading branch information
toothlessdev committed Jan 18, 2024
1 parent 3f20a9a commit a9a8f31
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,33 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stocodi | 스토코디</title>

<script async src="https://www.googletagmanager.com/gtag/js?id=G-TTXJ6BCN4T"></script>
<!-- Google Tag Manager -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-TTXJ6BCN4T");
(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-WSLTT989");
</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-WSLTT989"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->

<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down

0 comments on commit a9a8f31

Please sign in to comment.