A component which sends navigation changes to a matomo server.
Put the following in _Host.cshtml into the head section:
+ <script src="_content/Blazor.Matomo/JsInterop.js"></script>
</head>
and the following just below the router and don't forget to fill in your matomo url and site id:
</LayoutView>
</NotFound>
</Router>
+ <environment exclude="Development">
+ <MatomoAnalytics ApiUrl="https://<YourMatomoUrl>" SiteId="<YourSiteId>"></MatomoAnalytics>
+ </environment>