Skip to content

Commit 226969f

Browse files
author
Dmytro Trotsko
committed
Added google analytics
1 parent 6ba49c7 commit 226969f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<!-- Google Tag Manager -->
5+
<script>
6+
(function (w, d, s, l, i) {
7+
w[l] = w[l] || [];
8+
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
9+
var f = d.getElementsByTagName(s)[0],
10+
j = d.createElement(s),
11+
dl = l != 'dataLayer' ? '&l=' + l : '';
12+
j.async = true;
13+
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
14+
f.parentNode.insertBefore(j, f);
15+
})(window, document, 'script', 'dataLayer', 'GTM-KKL4J9Q3');
16+
</script>
17+
<!-- End Google Tag Manager -->
418
<meta charset="utf-8" />
519
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
620
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
@@ -12,6 +26,16 @@
1226
/>
1327
</head>
1428
<body style="margin: 0; padding: 0; display: flex; flex-direction: column; height: 100vh">
29+
<!-- Google Tag Manager (noscript) -->
30+
<noscript
31+
><iframe
32+
src="https://www.googletagmanager.com/ns.html?id=GTM-KKL4J9Q3"
33+
height="0"
34+
width="0"
35+
style="display: none; visibility: hidden"
36+
></iframe
37+
></noscript>
38+
<!-- End Google Tag Manager (noscript) -->
1539
<nav class="nav-container" style="box-shadow: 0 3px 5px -1px rgb(0 0 0 / 15%)">
1640
<div class="uk-navbar-container uk-navbar uk-float-right" data-uk-navbar="offset: 0" style="margin: 15px">
1741
<ul class="uk-navbar-nav nav-burger">

0 commit comments

Comments
 (0)