Skip to content

Commit ae4792a

Browse files
committed
Update google tag
1 parent 7de7dea commit ae4792a

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

index.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<!doctype html>
22
<html lang="fr">
33
<head>
4+
<!-- Google Tag Manager -->
5+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
6+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
7+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
9+
})(window,document,'script','dataLayer','GTM-PP2MKTCW');</script>
10+
<!-- End Google Tag Manager -->
11+
412
<meta charset="utf-8">
513
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
614
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -147,18 +155,14 @@
147155
<link
148156
rel="stylesheet"
149157
href="style.css">
150-
151-
<!-- Global site tag (gtag.js) - Google Analytics -->
152-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-42732947-3"></script>
153-
<script>
154-
window.dataLayer = window.dataLayer || [];
155-
function gtag(){dataLayer.push(arguments);}
156-
gtag('js', new Date());
157-
158-
gtag('config', 'UA-42732947-3');
159-
</script>
158+
160159
</head>
161160
<body>
161+
<!-- Google Tag Manager (noscript) -->
162+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PP2MKTCW"
163+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
164+
<!-- End Google Tag Manager (noscript) -->
165+
162166
<section
163167
id="hello"
164168
class="hero-section uk-section uk-padding uk-flex uk-flex-middle"

0 commit comments

Comments
 (0)