8000 Remove Google analytics · pragma-git/git-scm@e60a700 · GitHub
[go: up one dir, main page]

Skip to content

Commit e60a700

Browse files
committed
Remove Google analytics
Let's be respectful to the privacy of regular (non-adblocking) users. Also, reasons for git#1142 are no longer actual - so, drop Google insight into user behaviour on git-scm.com. Signed-off-by: David Heidelberg <david@ixit.cz>
1 parent be3c679 commit e60a700

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

app/views/layouts/application.html.erb

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

44
<head>
5-
<!-- Global site tag (gtag.js) - Google Analytics -->
6-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-49925874-3"></script>
7-
<script>
8-
window.dataLayer = window.dataLayer || [];
9-
function gtag(){dataLayer.push(arguments);}
10-
gtag('js', new Date());
11-
12-
gtag('config', 'UA-49925874-3');
13-
</script>
14-
155
<meta charset='utf-8'>
166
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
177
<meta name="viewport" content="width=device-width, initial-scale=1">

app/views/layouts/errors.html.erb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
<html lang="en">
22
<head>
3-
<!-- Global site tag (gtag.js) - Google Analytics -->
4-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-49925874-3"></script>
5-
<script>
6-
window.dataLayer = window.dataLayer || [];
7-
function gtag(){dataLayer.push(arguments);}
8-
gtag('js', new Date());
9-
10-
gtag('config', 'UA-49925874-3');
11-
</script>
12-
133
<meta charset="utf-8" />
144
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
155
<link href="errors.css"

0 commit comments

Comments
 (0)
0