You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Possibility to include matomo analytics as a built-in feature
A clear and concise description of what you want to happen.
having the javascript calls for matomo included within the theme just like for google analytics.
A clear and concise description of any alternative solutions or features you've considered.
This theme changjinglu has it implemented.
Add any other context or screenshots about the feature request here.
more info for matomo here
Sample javascript that needs to be included to each page for the tracking to work
<!-- 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="//domain.tld/";
_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 -->
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Possibility to include matomo analytics as a built-in feature
A clear and concise description of what you want to happen.
having the javascript calls for matomo included within the theme just like for google analytics.
A clear and concise description of any alternative solutions or features you've considered.
This theme changjinglu has it implemented.
Add any other context or screenshots about the feature request here.
more info for matomo here
Sample javascript that needs to be included to each page for the tracking to work
The text was updated successfully, but these errors were encountered: