Skip to content

Commit

Permalink
Merge pull request #40 from owasp-modsecurity/update-matomo-integration
Browse files Browse the repository at this point in the history
Update matomo/piwik site id from 4 to 5
  • Loading branch information
airween authored Sep 3, 2024
2 parents f85aaec + 6188b1a commit 99f8aa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/production/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ build:
params:
services:
matomoAnalytics:
id: "4"
id: "5"
url: "piwik.netnea.com/matomo"
4 changes: 2 additions & 2 deletions layouts/partials/custom-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
(function() {
var u="https://piwik.netnea.com/matomo/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '4']);
_paq.push(['setSiteId', '5']);
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 -->
<!-- Matomo Image Tracker-->
<img referrerpolicy="no-referrer-when-downgrade" src="https://piwik.netnea.com/matomo/matomo.php?idsite=4&amp;rec=1" style="border:0" alt="" />
<img referrerpolicy="no-referrer-when-downgrade" src="https://piwik.netnea.com/matomo/matomo.php?idsite=5&amp;rec=1" style="border:0" alt="" />
<!-- End Matomo -->

0 comments on commit 99f8aa2

Please sign in to comment.