Skip to content

Commit d15f9fa

Browse files
authored
Add analytics (#353)
1 parent 85c41b7 commit d15f9fa

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/header.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
33
<html xmlns="http://www.w3.org/1999/xhtml">
44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SY496B9L99"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-SY496B9L99');
13+
</script>
14+
515
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
616
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
717
<meta name="generator" content="Doxygen $doxygenversion"/>

docs/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SY496B9L99"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'G-SY496B9L99');
12+
</script>
13+
414
<meta charset="UTF-8">
515
<meta http-equiv="X-UA-Compatible" content="IE=edge">
616
<meta name="viewport" content="width=device-width, initial-scale=1.0">

0 commit comments

Comments
 (0)