-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Improve matomoObserver
to dispense with TraceableClientMixin
.
#173
Comments
I'm not sure to understand what is the link with |
Yes, that's right. |
Thanks for the clarification! |
I need to track all page changes. |
Sure, but there might also be people out there who needs to only track specific page.
And the implementation you've provided is short and doesn't rely on any kind of internal API of the package hence why I'm not sure that it needs to be integrated directly in it.
As said above some devs might not want to track indiscriminately all pages in their apps, having more granularity in the tracking seems to me as important as providing a global observer. Because of this difference in behavior I'm not sure it is possible to mix the two, if anything is implemented a separate observer dedicated to |
The observer can be configured to include or exclude path or name page. The solution I have shown is simplistic for the moment, but it can be improved. |
The issue here is that any type of configuration will make the observer incompatible with I think it's preferable to have a |
Is your feature request related to a problem? Please describe.
We can extend of
RouteObserver<PageRoute<dynamic>>
to dispense withTraceableClientMixin
.Describe the solution you'd like
Proof of concept:
The text was updated successfully, but these errors were encountered: