Skip to content

Commit b9a842c

Browse files
committed
Analytics Fixed
1 parent a312896 commit b9a842c

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

UserDocs.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
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-W1SPPC3YBV"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
if (location.protocol !== 'file:' && location.hostname !== 'localhost' && location.hostname !== '127.0.0.1') {
12+
gtag('config', 'G-W1SPPC3YBV');
13+
}
14+
</script>
415
<meta charset="utf-8">
516
<meta name="viewport" content="width=device-width, initial-scale=1">
617
<title>LunaSim Help</title>

landing/homePage.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
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-W1SPPC3YBV"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
if (location.protocol !== 'file:' && location.hostname !== 'localhost' && location.hostname !== '127.0.0.1') {
12+
gtag('config', 'G-W1SPPC3YBV');
13+
}
14+
</script>
415
<meta charset="UTF-8" />
516
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
617
<meta name="description" content="LunaSim is free, open-source, browser-based system dynamics modeling software for students, educators, and researchers. Build stock-and-flow models, run simulations, create charts, and analyze uncertainty with Monte Carlo methods." />

sim/systemDynamics.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@
55

66
<html lang="en">
77
<head>
8+
<!-- Google tag (gtag.js) -->
9+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-W1SPPC3YBV"></script>
10+
<script>
11+
window.dataLayer = window.dataLayer || [];
12+
function gtag(){dataLayer.push(arguments);}
13+
gtag('js', new Date());
14+
15+
if (location.protocol !== 'file:' && location.hostname !== 'localhost' && location.hostname !== '127.0.0.1') {
16+
gtag('config', 'G-W1SPPC3YBV');
17+
}
18+
</script>
819
<title>LunaSim</title>
920
<meta name="description" content="Design and run powerful simulations, all in the browser with LunaSim.">
1021
<meta name="viewport" content="width=device-width, initial-scale=1.0">

0 commit comments

Comments
 (0)