Skip to content

Commit

Permalink
feature: add gtm
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenVlass committed Apr 3, 2024
1 parent a4b79ba commit 2eb6db6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@
<link rel="apple-touch-icon" href="./images/favicon.png" />
<title>BCBoilerplate</title>
<link rel="stylesheet" href="./css/main.min.css" />
<!-- Google Tag Manager -->
<script>
(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-NNXV7GKW");
</script>
<!-- End Google Tag Manager -->
<meta itemprop="serviceType" content="Software development" />
<script type="application/ld+json">
{
Expand Down Expand Up @@ -91,6 +105,16 @@
</script>
</head>
<body>
<!-- Google Tag Manager -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-NNXV7GKW"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe
></noscript>
<!-- End Google Tag Manager-->
<header class="container header-container">
<a href="./index.html" class="logo-header">
<svg width="26" height="36" aria-label="site logo">
Expand Down

0 comments on commit 2eb6db6

Please sign in to comment.