Skip to content

Commit 199029e

Browse files
committed
Adding GA tracking
1 parent eb37e17 commit 199029e

7 files changed

Lines changed: 70 additions & 0 deletions

File tree

experiments/basic/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6YTG4SPZ6V"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-6YTG4SPZ6V');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta http-equiv="x-ua-compatible" content="ie=edge">
717

experiments/bounds/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6YTG4SPZ6V"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-6YTG4SPZ6V');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta http-equiv="x-ua-compatible" content="ie=edge">
717

experiments/from-images/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6YTG4SPZ6V"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-6YTG4SPZ6V');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta http-equiv="x-ua-compatible" content="ie=edge">
717

experiments/marginal-growth/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6YTG4SPZ6V"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-6YTG4SPZ6V');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta http-equiv="x-ua-compatible" content="ie=edge">
717

experiments/obstacles/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6YTG4SPZ6V"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-6YTG4SPZ6V');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta http-equiv="x-ua-compatible" content="ie=edge">
717

experiments/painting/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6YTG4SPZ6V"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-6YTG4SPZ6V');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta http-equiv="x-ua-compatible" content="ie=edge">
717

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6YTG4SPZ6V"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-6YTG4SPZ6V');
13+
</script>
14+
515
<meta charset="utf-8">
616
<meta http-equiv="x-ua-compatible" content="ie=edge">
717

0 commit comments

Comments
 (0)