ngx-matomo-client
Advanced tools
Changelog
5.0.0 (2023-07-03)
@ngx-matomo/router
into main package (dca634a)ngx-matomo-client
(be8f65e)MatomoRouteDataInterceptor
and MatomoRouteInterceptorBase
constructor arguments (5c5086d)init()
method with initialize()
for naming consistency (f82c013)NgxMatomoTrackerModule
to NgxMatomoModule
(96c8f2e)NgModule
-free providers (2dbe82d)enableLinkTracking
config property (641a255)disableBrowserFeatureDetection
and enableBrowserFeatureDetection
methods (d462941)getExcludedReferrers
and setExcludedReferrers
methods (b725de8)getRememberedCookieConsent
method (7504381)MATOMO_DIRECTIVES
(f0362e9)inject
calls in script factory (bb2aae0)trackAppInitialLoad
is now true
by default, unless router feature is enabled (it previously was always false
by default).
For applications with router enabled, nothing changes. It can still be manually configured like before.
This should not affect most applications, because tracking initial page view is not recommended when router feature is enabled.MatomoRouteDataInterceptor
and MatomoRouteInterceptorBase
constructors are now argument-less. They now require to be instantiated in an injection context instead.enableLinkTracking
now don't enable pseudo-click tracking by default after each page view. This is consistent with the default Matomo behavior.
To restore previous behavior, set enableLinkTracking
configuration property to 'enable-pseudo'
.ngx-matomo-client
.
Legacy packages should not be used anymore: please migrate all imports from @ngx-matomo/tracker
and @ngx-matomo/router
to ngx-matomo-client
instead.@ngx-matomo/router
is no longer necessary.
It should be removed from your project.
NgxMatomoRouterModule
is now available from the main library packageMatomoRouter.init()
has been deprecated, use MatomoRouter.initialize()
insteadNgxMatomoTrackerModule
is deprecated, use NgxMatomoModule
instead