Skip to content

Commit 1921edd

Browse files
Merge pull request #286 from creativecommons/remove-google-analytics
removed the google analytics function from resource.html and submission.html
2 parents 6561318 + 61d5d35 commit 1921edd

File tree

2 files changed

+0
-51
lines changed

2 files changed

+0
-51
lines changed

docs/_layouts/resource.html

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,6 @@
33
<title>{{ page.title }} | Creative Commons</title>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<script>
7-
(function (i, s, o, g, r, a, m) {
8-
i["GoogleAnalyticsObject"] = r;
9-
(i[r] =
10-
i[r] ||
11-
function () {
12-
(i[r].q = i[r].q || []).push(arguments);
13-
}),
14-
(i[r].l = 1 * new Date());
15-
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
16-
a.async = 1;
17-
a.src = g;
18-
m.parentNode.insertBefore(a, m);
19-
})(
20-
window,
21-
document,
22-
"script",
23-
"//www.google-analytics.com/analytics.js",
24-
"ga",
25-
);
26-
27-
ga("create", "UA-2010376-29", "auto");
28-
ga("send", "pageview");
29-
</script>
30-
316
<link rel="stylesheet" type="text/css" href="/style.css" />
327
{% if page.downloadurl %} {% if page.repourl %}
338
<style>

docs/submission.html

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,6 @@
88
<meta charset="UTF-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1010
<title>{{ page.title }} | Creative Commons</title>
11-
12-
<script>
13-
(function (i, s, o, g, r, a, m) {
14-
i["GoogleAnalyticsObject"] = r;
15-
(i[r] =
16-
i[r] ||
17-
function () {
18-
(i[r].q = i[r].q || []).push(arguments);
19-
}),
20-
(i[r].l = 1 * new Date());
21-
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
22-
a.async = 1;
23-
a.src = g;
24-
m.parentNode.insertBefore(a, m);
25-
})(
26-
window,
27-
document,
28-
"script",
29-
"//www.google-analytics.com/analytics.js",
30-
"ga",
31-
);
32-
33-
ga("create", "UA-2010376-29", "auto");
34-
ga("send", "pageview");
35-
</script>
36-
3711
<link rel="stylesheet" type="text/css" href="/style.css" />
3812
</head>
3913

0 commit comments

Comments
 (0)