Skip to content

Commit

Permalink
remove external analytics.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgineer85 committed Nov 23, 2024
1 parent ec60f9b commit c81547a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 25 deletions.
28 changes: 3 additions & 25 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dev_addr: 127.0.0.1:8001

theme:
name: "material"
custom_dir: overrides
logo: assets/logo-notext-white-transparent.png
features:
- navigation.tabs
Expand Down Expand Up @@ -55,33 +56,10 @@ plugins:
- glightbox

copyright: >
2024 – <a href="#__consent">Change cookie settings</a>
2024
extra:
consent:
title: Cookie consent
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
analytics:
provider: google
property: G-HJ2DQGS163
feedback:
title: Was this page helpful?
ratings:
- icon: material/emoticon-happy-outline
name: This page was helpful
data: 1
note: >-
Thanks for your feedback!
- icon: material/emoticon-sad-outline
name: This page could be improved
data: 0
note: >-
Thanks for your feedback! Help us improve this page by
using our <a href="https://github.com/photobooth-app/photobooth-docs/issues/new" target="_blank" rel="noopener">issue tracker</a>.
provider: custom

nav:
- Home:
Expand Down
15 changes: 15 additions & 0 deletions overrides/partials/integrations/analytics/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matmo.mgineer85.de/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->

0 comments on commit c81547a

Please sign in to comment.