Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] add matomo snippet #38

Closed
csae8092 opened this issue Jan 27, 2025 · 0 comments · Fixed by #39
Closed

[feat] add matomo snippet #38

csae8092 opened this issue Jan 27, 2025 · 0 comments · Fixed by #39
Assignees
Labels
enhancement New feature or request

Comments

@csae8092
Copy link
Member

<!-- 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="https://matomo.acdh.oeaw.ac.at/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '265']);
    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 -->
@csae8092 csae8092 added the enhancement New feature or request label Jan 27, 2025
@csae8092 csae8092 self-assigned this Jan 27, 2025
@csae8092 csae8092 linked a pull request Jan 27, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant