Martin L (GitHub Actions) commited on
Commit
90e8586
·
1 Parent(s): 4a456bd

Automated deployment from GitHub (source commit: 3fa4af)

Browse files
Files changed (2) hide show
  1. app.js +0 -11
  2. index.html +0 -1
app.js CHANGED
@@ -245,7 +245,6 @@ async function handleFileOpen(e) {
245
  updatePageNav();
246
  renderAnnotationList();
247
  render();
248
- trackEvent('file-opened');
249
  } catch (err) {
250
  alert('Error loading file: ' + err.message);
251
  console.error(err);
@@ -272,7 +271,6 @@ async function handleLoadGT(e) {
272
  renderClassList();
273
  updateGlobalStats();
274
  render();
275
- trackEvent('gt-loaded');
276
  } catch (err) {
277
  alert('Failed to load .gt.json:\n\n' + err.message);
278
  }
@@ -311,7 +309,6 @@ function handleExport() {
311
 
312
  try {
313
  exportJSON(state.fileName, state);
314
- trackEvent('annotation-exported');
315
  } catch (err) {
316
  alert('Export failed:\n\n' + err.message);
317
  console.error(err);
@@ -936,14 +933,6 @@ function save() {
936
  }
937
  }
938
 
939
- // ── Analytics ──────────────────────────────────────────
940
-
941
- function trackEvent(name) {
942
- if (window.goatcounter && window.goatcounter.count) {
943
- window.goatcounter.count({ path: name, event: true });
944
- }
945
- }
946
-
947
  // ── Start ──────────────────────────────────────────────
948
 
949
  init();
 
245
  updatePageNav();
246
  renderAnnotationList();
247
  render();
 
248
  } catch (err) {
249
  alert('Error loading file: ' + err.message);
250
  console.error(err);
 
271
  renderClassList();
272
  updateGlobalStats();
273
  render();
 
274
  } catch (err) {
275
  alert('Failed to load .gt.json:\n\n' + err.message);
276
  }
 
309
 
310
  try {
311
  exportJSON(state.fileName, state);
 
312
  } catch (err) {
313
  alert('Export failed:\n\n' + err.message);
314
  console.error(err);
 
933
  }
934
  }
935
 
 
 
 
 
 
 
 
 
936
  // ── Start ──────────────────────────────────────────────
937
 
938
  init();
index.html CHANGED
@@ -5,7 +5,6 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Xournal++ Stroke Annotator</title>
7
  <link rel="stylesheet" href="style.css">
8
- <script data-goatcounter="https://xournalpp-htr-data-annotation-tool.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
9
  </head>
10
  <body>
11
  <div id="app">
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Xournal++ Stroke Annotator</title>
7
  <link rel="stylesheet" href="style.css">
 
8
  </head>
9
  <body>
10
  <div id="app">