diff --git a/js/customElements/header.js b/js/customElements/header.js index fea6969..1fe8c52 100644 --- a/js/customElements/header.js +++ b/js/customElements/header.js @@ -8,7 +8,6 @@ class Header extends HTMLElement {

${pageTitle}

-
diff --git a/js/customElements/matomo.js b/js/customElements/matomo.js deleted file mode 100644 index c344fd8..0000000 --- a/js/customElements/matomo.js +++ /dev/null @@ -1,16 +0,0 @@ -class Matomo extends HTMLElement { - constructor() { - super(); - this.generateTrackImg(); - } - async generateTrackImg(){ - let trackURL = await (await fetch("/API/config.php?name=trackURL")).text() - this.innerHTML = ` - - - - `; - } -} - -customElements.define("jl-matomo", Matomo); \ No newline at end of file diff --git a/js/script.js b/js/script.js index 8b4271f..e7b85a3 100644 --- a/js/script.js +++ b/js/script.js @@ -17,5 +17,4 @@ require("./customElements/newComment"); require("./customElements/contactMailButton"); require("./customElements/header"); require("./customElements/mainMenu"); -require("./customElements/footer"); -require("./customElements/matomo"); \ No newline at end of file +require("./customElements/footer"); \ No newline at end of file diff --git a/public/API/config.php b/public/API/config.php index 379bf62..336fdbd 100644 --- a/public/API/config.php +++ b/public/API/config.php @@ -7,9 +7,6 @@ switch ($configValue){ case "sitekey": echo($sitekey); break; - case "trackURL": - echo($trackURL); - break; default: echo("notFound"); }