Skip to content

Commit 1370ca4

Browse files
committed
added google analytics
1 parent 6211b41 commit 1370ca4

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

download.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@
132132

133133
</section>
134134
</div>
135-
135+
<!-- Global site tag (gtag.js) - Google Analytics -->
136+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111501715-1"></script>
137+
<script>
138+
window.dataLayer = window.dataLayer || [];
139+
function gtag(){dataLayer.push(arguments);}
140+
gtag('js', new Date());
141+
142+
gtag('config', 'UA-111501715-1');
143+
</script>
136144
</body>
137145
</html>

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,14 @@ <h2>Disclaimer</h2>
223223
document.getElementById('total_downloads_all_versions').innerHTML = total;
224224
});
225225
</script>
226+
<!-- Global site tag (gtag.js) - Google Analytics -->
227+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111501715-1"></script>
228+
<script>
229+
window.dataLayer = window.dataLayer || [];
230+
function gtag(){dataLayer.push(arguments);}
231+
gtag('js', new Date());
232+
233+
gtag('config', 'UA-111501715-1');
234+
</script>
226235
</body>
227236
</html>

0 commit comments

Comments
 (0)