added google analytics
This commit is contained in:
parent
d8f6a4b894
commit
a37793537a
1 changed files with 12 additions and 0 deletions
12
index.html
12
index.html
|
@ -29,6 +29,18 @@
|
|||
|
||||
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/prettify.js"></script>
|
||||
<script src="scripts/main.js"></script>
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-150032076-2"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
let gtag = function () {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-150032076-2');
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body data-spy="scroll" data-target="#navbar">
|
||||
|
|
Loading…
Reference in a new issue