Skip to content

Commit 3b41964

Browse files
committed
google analytics
1 parent 1bb3843 commit 3b41964

4 files changed

Lines changed: 126 additions & 28 deletions

File tree

src/playground/index.ejs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@
2929
100% { transform: rotate(360deg); }
3030
}
3131
</style>
32+
33+
<!-- Google tag (gtag.js) -->
34+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JEVT078EB6"></script>
35+
<script>
36+
window.dataLayer = window.dataLayer || [];
37+
function gtag(){dataLayer.push(arguments);}
38+
gtag('js', new Date());
39+
40+
gtag('config', 'G-JEVT078EB6');
41+
</script>
42+
<script>console.log("i am running");</script>
3243
</head>
3344
<body>
3445
<div id="splash" aria-hidden="true">

static/contact.html

Lines changed: 53 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<title>PenguinMod - Contact</title>
5-
<meta charset="utf8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<meta charset="utf8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
8+
<!-- Google tag (gtag.js) -->
9+
<script
10+
async
11+
src="https://www.googletagmanager.com/gtag/js?id=G-JEVT078EB6"
12+
></script>
13+
<script>
14+
window.dataLayer = window.dataLayer || [];
15+
function gtag() {
16+
dataLayer.push(arguments);
17+
}
18+
gtag("js", new Date());
19+
20+
gtag("config", "G-JEVT078EB6");
21+
</script>
22+
723
<style>
824
body {
925
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
10-
margin: 0; padding: 0;
26+
margin: 0;
27+
padding: 0;
1128
}
1229
header {
1330
background-color: hsla(194, 100%, 50%, 1);
@@ -20,8 +37,13 @@
2037
margin: auto;
2138
}
2239
@media (prefers-color-scheme: dark) {
23-
body { background: #111; color: #eee; }
24-
a { color: #4af; }
40+
body {
41+
background: #111;
42+
color: #eee;
43+
}
44+
a {
45+
color: #4af;
46+
}
2547
}
2648
</style>
2749
</head>
@@ -33,17 +55,34 @@ <h1>Contact</h1>
3355

3456
<main>
3557
<p>
36-
Please only contact us personally for serious matters such as security, copyright, etc.
37-
<br>
58+
Please only contact us personally for serious matters such as
59+
security, copyright, etc.
60+
<br />
3861
Spam, advertisments, or other mail may be blocked.
3962
</p>
40-
41-
<br>
4263

43-
<p>Email us at <a href="mailto:penguinmodhelp@gmail.com">penguinmodhelp@gmail.com</a></p>
44-
<p>Make an <a href="https://github.com/PenguinMod/PenguinMod-Home/issues">issue on our GitHub</a></p>
45-
<p>Post or reply mentioning <a href="https://twitter.com/penguin_mod">our X account</a></p>
46-
<p>Join <a href="https://discord.gg/NZ9MBMYTZh">our Discord Server</a></p>
64+
<br />
65+
66+
<p>
67+
Email us at
68+
<a href="mailto:penguinmodhelp@gmail.com"
69+
>penguinmodhelp@gmail.com</a
70+
>
71+
</p>
72+
<p>
73+
Make an
74+
<a href="https://github.com/PenguinMod/PenguinMod-Home/issues"
75+
>issue on our GitHub</a
76+
>
77+
</p>
78+
<p>
79+
Post or reply mentioning
80+
<a href="https://twitter.com/penguin_mod">our X account</a>
81+
</p>
82+
<p>
83+
Join
84+
<a href="https://discord.gg/NZ9MBMYTZh">our Discord Server</a>
85+
</p>
4786
</main>
4887
</body>
4988
</html>

static/privacy.html

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<title>PenguinMod - Privacy Policy</title>
5-
<meta charset="utf8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<meta charset="utf8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
8+
<!-- Google tag (gtag.js) -->
9+
<script
10+
async
11+
src="https://www.googletagmanager.com/gtag/js?id=G-JEVT078EB6"
12+
></script>
13+
<script>
14+
window.dataLayer = window.dataLayer || [];
15+
function gtag() {
16+
dataLayer.push(arguments);
17+
}
18+
gtag("js", new Date());
19+
20+
gtag("config", "G-JEVT078EB6");
21+
</script>
22+
723
<style>
824
body {
925
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
10-
margin: 0; padding: 0;
26+
margin: 0;
27+
padding: 0;
1128
}
1229
header {
1330
background-color: hsla(194, 100%, 50%, 1);
@@ -20,8 +37,13 @@
2037
margin: auto;
2138
}
2239
@media (prefers-color-scheme: dark) {
23-
body { background: #111; color: #eee; }
24-
a { color: #4af; }
40+
body {
41+
background: #111;
42+
color: #eee;
43+
}
44+
a {
45+
color: #4af;
46+
}
2547
}
2648
</style>
2749
</head>
@@ -33,7 +55,9 @@ <h1>Privacy Policy</h1>
3355

3456
<main>
3557
<p>We've moved pages</p>
36-
<a href="https://penguinmod.com/privacy">Click here to see the new page.</a>
58+
<a href="https://penguinmod.com/privacy"
59+
>Click here to see the new page.</a
60+
>
3761
</main>
3862
</body>
3963
</html>

static/terms.html

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<title>PenguinMod - Terms of Service</title>
5-
<meta charset="utf8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<meta charset="utf8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
8+
<!-- Google tag (gtag.js) -->
9+
<script
10+
async
11+
src="https://www.googletagmanager.com/gtag/js?id=G-JEVT078EB6"
12+
></script>
13+
<script>
14+
window.dataLayer = window.dataLayer || [];
15+
function gtag() {
16+
dataLayer.push(arguments);
17+
}
18+
gtag("js", new Date());
19+
20+
gtag("config", "G-JEVT078EB6");
21+
</script>
22+
723
<style>
824
body {
925
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
10-
margin: 0; padding: 0;
26+
margin: 0;
27+
padding: 0;
1128
}
1229
header {
1330
background-color: hsla(194, 100%, 50%, 1);
@@ -20,8 +37,13 @@
2037
margin: auto;
2138
}
2239
@media (prefers-color-scheme: dark) {
23-
body { background: #111; color: #eee; }
24-
a { color: #4af; }
40+
body {
41+
background: #111;
42+
color: #eee;
43+
}
44+
a {
45+
color: #4af;
46+
}
2547
}
2648
</style>
2749
</head>
@@ -33,7 +55,9 @@ <h1>Terms of Service</h1>
3355

3456
<main>
3557
<p>We've moved pages</p>
36-
<a href="https://penguinmod.com/terms">Click here to see the new page.</a>
58+
<a href="https://penguinmod.com/terms"
59+
>Click here to see the new page.</a
60+
>
3761
</main>
3862
</body>
3963
</html>

0 commit comments

Comments
 (0)