Skip to content

Commit

Permalink
update jupyterbookcoursetemplate plausible analytics file
Browse files Browse the repository at this point in the history
  • Loading branch information
firasm committed Dec 31, 2023
1 parent 1e94ca1 commit 3529c54
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _static/plausible_jupyterbookcoursetemplate.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// NOTE: This file allows my privacy-focused analytics provider (Plausible) to
// collect data on various aspects of usage.
// Those that are using this repo as a template should REMOVE this file from their repo

var script = document.createElement("script");
script.defer = true;
script.src = "https://plausible.io/js/script.js";
script.dataset.domain = "jupyterbookcoursetemplate";

// optional if using proxy
// script.dataset.api = 'https://yourproxy.com/api/event';

document.getElementsByTagName("head")[0].appendChild(script);

0 comments on commit 3529c54

Please sign in to comment.