diff --git a/src/_includes/partials/head-matter.njk b/src/_includes/partials/head-matter.njk index bebfbd5..eb8ed93 100644 --- a/src/_includes/partials/head-matter.njk +++ b/src/_includes/partials/head-matter.njk @@ -12,4 +12,3 @@ {% uioScripts %} - diff --git a/src/assets/scripts/matomo.js b/src/assets/scripts/matomo.js deleted file mode 100644 index fe4c51c..0000000 --- a/src/assets/scripts/matomo.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; - -const _paq = window._paq = window._paq || []; -_paq.push(["trackPageView"]); -_paq.push(["enableLinkTracking"]); -(function () { - const siteId = "23"; // Set this to the ID of your site in Matomo. Value must be quoted. - const u = "https://analytics.inclusivedesign.ca/"; - _paq.push(["setTrackerUrl", u + "matomo.php"]); - _paq.push(["setSiteId", siteId]); - const d = document; - const g = d.createElement("script"); - const s = d.getElementsByTagName("script")[0]; - g.async = true; - g.src = u + "matomo.js"; - s.parentNode.insertBefore(g, s); -})(); diff --git a/webpack.mix.js b/webpack.mix.js index 09c8806..a356679 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -20,7 +20,6 @@ mix.setPublicPath("dist/assets"); // Process JavaScript with Babel. mix.js("./src/assets/scripts/app.js", "dist/assets/scripts"); -mix.js("./src/assets/scripts/matomo.js", "dist/assets/scripts"); // Compile Stylus and process with PostCSS. mix.postCss("./src/assets/styles/app.css", "dist/assets/styles");