Skip to content

A component which sends navigation changes to a matomo server.

License

Notifications You must be signed in to change notification settings

cmoissl/Blazor.Matomo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blazor.Matomo

A component which sends navigation changes to a matomo server.

Setup

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>

About

A component which sends navigation changes to a matomo server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published