Directory

← Back

MatomoTracker

Vaadin 10+ integration to Matomo analytics solution

Author

Rating

Popularity

<100

This add-on adds basic Matomo (previously known as Piwik) view tracking analytics in Vaadin 10+ applications.

Tracking is enabled with annotation in MainLayout. View tracking is done automatically based on Routes. Views can be excluded. See code examples and API documentation for more information.

You need Matomo cloud instance and subscription before you can use this integration add-on.

Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: Support and Pricing

Sample code


How to enable

    @EnableMatomoTracker(value = "https://my-matomo.cloud", siteId = "siteid")
    public class MainLayout extends VerticalLayout implements RouterLayout {
        ...
    }

Ignore view from tracking

    @IgnoreMatomoTracker
    public class IgnoredView extends VerticalLayout {
        ...
    }

Track custom event

    public class MainView extends VerticalLayout {
        public MainView() {
            add(new Text("Main view"), new Button("Send an event", click -> {
                MatomoTracker.getCurrent().sendEvent("Examples",
                    "Event button");
            }));
        }
    }

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Version 1.0.2

  • Changed license to Apache 2
Released
2020-12-02
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 10+
Browser
Firefox
Opera
Safari
Google Chrome
iOS Browser
Android Browser
Internet Explorer
Microsoft Edge

MatomoTracker - Vaadin Add-on Directory

Vaadin 10+ integration to Matomo analytics solution MatomoTracker - Vaadin Add-on Directory
This add-on adds basic [Matomo](https://matomo.org/docs/piwik-tour/) (previously known as Piwik) view tracking analytics in Vaadin 10+ applications. Tracking is enabled with annotation in MainLayout. View tracking is done automatically based on Routes. Views can be excluded. See code examples and API documentation for more information. You need Matomo cloud instance and subscription before you can use this integration add-on. ### Sponsored development Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: [Support](https://vaadin.com/support) and [Pricing](https://vaadin.com/pricing)
Online