Skip to content

Commit c192600

Browse files
xorelrsmontero
authored andcommitted
M #-: Update GA snippet (#2638)
(cherry picked from commit 72d2543) (cherry picked from commit ce8dfdc)
1 parent fcfa3cb commit c192600

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/_templates/thelayout.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
1212
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
1313
<head>
14+
<!-- Google tag (gtag.js) -->
15+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T5SWDS42ZH"></script>
16+
<script>
17+
window.dataLayer = window.dataLayer || [];
18+
function gtag(){dataLayer.push(arguments);}
19+
gtag('js', new Date());
20+
21+
gtag('config', 'G-T5SWDS42ZH');
22+
</script>
23+
1424
<meta charset="utf-8">
1525
{{ metatags }}
1626
<meta name="viewport" content="width=device-width, initial-scale=1.0">

0 commit comments

Comments
 (0)