Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.48 KB

README.md

File metadata and controls

22 lines (13 loc) · 1.48 KB

MatomoProvider

Nuget (with prereleases) GitHub Workflow Status (with branch)

MatomoProvider is a Blazor component that registers and enables the Matomo Analytics tracking code for you.

This component is based on cmoissl's Blazor.Matomo component but adapted to provide extra functionality, with a focus on Blazor WASM's SPA nature.

Some of the recommendations from Matomo's SPA tracking documentation have been applied to allow proper page, page title, referrer URL, and user id tracking. Other features may follow.

More details in the documentation.

Development

For ease of development, a docker image has been provided (/tools/matomo) that sets up a mariadb and a matomo instance.

After starting up this docker image, follow the setup instructions (at http://localhost), this should be limited to pressing "next" until asked to create an admin account.

Once the setup is complete no extra configuration needs to be made, the samples should work as-is.