Skip to content

Commit 1d07083

Browse files
authored
GA added
1 parent 58dac21 commit 1d07083

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

index.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,15 @@ <h2 class="motto"><span>osw.motto</span> = "Peace, love and Open Source.";</h2>
9797

9898
<script src="js/main.js"></script>
9999

100-
<!-- Google Analytics: (cambiar UA-XXXXX-X) !
100+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-114013747-1"></script>
101101
<script>
102-
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
103-
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
104-
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
105-
e.src='//www.google-analytics.com/analytics.js';
106-
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
107-
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
102+
window.dataLayer = window.dataLayer || [];
103+
function gtag(){dataLayer.push(arguments);}
104+
gtag('js', new Date());
105+
106+
gtag('config', 'UA-114013747-1');
108107
</script>
109-
-->
108+
110109

111110
</body>
112-
</html>
111+
</html>

0 commit comments

Comments
 (0)