Skip to content

Commit 91476d3

Browse files
authored
Merge pull request #1 from UBC-CS/remove_analytics
Comment out the analytics script to track visitors
2 parents 880a04e + 7c15af6 commit 91476d3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

_static/plausible_cpsc203.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
// collect data on various aspects of usage.
33
// Those that are using this repo as a template should REMOVE this file from their repo
44

5-
var script = document.createElement("script");
6-
script.defer = true;
7-
script.src = "https://plausible.io/js/script.js";
8-
script.dataset.domain = "cpsc203";
5+
// var script = document.createElement("script");
6+
// script.defer = true;
7+
// script.src = "https://plausible.io/js/script.js";
8+
// script.dataset.domain = "cpsc203";
99

10-
// optional if using proxy
11-
// script.dataset.api = 'https://yourproxy.com/api/event';
10+
// // optional if using proxy
11+
// // script.dataset.api = 'https://yourproxy.com/api/event';
1212

13-
document.getElementsByTagName("head")[0].appendChild(script);
13+
// document.getElementsByTagName("head")[0].appendChild(script);

0 commit comments

Comments
 (0)