Releases: EmmanuelRoux/ngx-matomo-client
Releases · EmmanuelRoux/ngx-matomo-client
v5.0.1
v5.0.0
5.0.0 (2023-07-03)
Bug Fixes
- schematics: correctly remove legacy packages during install (5cc6a8c)
- tracker: add missing public exports (27973ca)
Code Refactoring
- merge
@ngx-matomo/router
into main package (dca634a) - rename library to
ngx-matomo-client
(be8f65e) - router: remove
MatomoRouteDataInterceptor
andMatomoRouteInterceptorBase
constructor arguments (5c5086d) - router: replace
init()
method withinitialize()
for naming consistency (f82c013) - tracker: rename
NgxMatomoTrackerModule
toNgxMatomoModule
(96c8f2e)
Features
- add new
NgModule
-free providers (2dbe82d) - router: allow custom key for route data lookup (936176d)
- schematics: support new providers-style setup (057223a)
- tracker, router: add support for pseudo-clicks with
enableLinkTracking
config property (641a255) - tracker: add
disableBrowserFeatureDetection
andenableBrowserFeatureDetection
methods (d462941) - tracker: add
getExcludedReferrers
andsetExcludedReferrers
methods (b725de8) - tracker: add
getRememberedCookieConsent
method (7504381) - tracker: add public export for
MATOMO_DIRECTIVES
(f0362e9) - tracker: allow
inject
calls in script factory (bb2aae0) - tracker: allow route tracking customization using route data (480f30e)
- tracker: automatically enable or disable initial page view tracking (eeccb3e)
- tracker: make Matomo directives standalone (27c2ecc)
Breaking changes
- tracker: Configuration option
trackAppInitialLoad
is nowtrue
by default, unless router feature is enabled (it previously was alwaysfalse
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. - router:
MatomoRouteDataInterceptor
andMatomoRouteInterceptorBase
constructors are now argument-less. They now require to be instantiated in an injection context instead. - tracker, router:
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, setenableLinkTracking
configuration property to'enable-pseudo'
. - Library's npm package has been renamed to
ngx-matomo-client
.
Legacy packages should not be used anymore: please migrate all imports from@ngx-matomo/tracker
and@ngx-matomo/router
tongx-matomo-client
instead. - Package
@ngx-matomo/router
is no longer necessary.
It should be removed from your project.NgxMatomoRouterModule
is now available from the main library package- All your imports should be migrated and imported from the main library package
Deprecations
- router: Method
MatomoRouter.init()
has been deprecated, useMatomoRouter.initialize()
instead - tracker:
NgxMatomoTrackerModule
is deprecated, useNgxMatomoModule
instead
v4.1.2
v4.1.1
v5.0.0-next.2
v5.0.0-next.1
5.0.0-next.1 (2023-05-06)
Code Refactoring
- merge @ngx-matomo/router into main package (71a3a14)
- rename library to ngx-matomo-client (170e336)
- router: replace
init()
method withinitialize()
for naming consistency (94daeb4) - tracker: rename
NgxMatomoTrackerModule
toNgxMatomoModule
(733a34e)
Features
- add new module-free providers (1834e47)
- schematics: support new providers-style setup (5202582)
- tracker, router: add support for pseudo-clicks with
enableLinkTracking
config property (48a611c) - tracker: add
disableBrowserFeatureDetection
andenableBrowserFeatureDetection
methods (362e8e5) - tracker: add
getExcludedReferrers
andsetExcludedReferrers
methods (d218508) - tracker: add
getRememberedCookieConsent
method (bba87dd) - tracker: allow
inject
calls in script factory (e5f8ff7) - tracker: allow route tracking customization using route data (dd61662)
- tracker: allow route tracking customization using route data (cc89a18)
- tracker: make Matomo directives standalone (e485ced)
Breaking changes
- tracker, router:
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, setenableLinkTracking
configuration property toenable-pseudo
. - Library's npm package has been renamed to 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. - Package @ngx-matomo/router is no longer necessary.
It should be removed from your project.NgxMatomoRouterModule
is now available from the main library package- All your imports should be migrated and imported from the main library package
Deprecations
- router: Method
MatomoRouter.init()
has been deprecated, useMatomoRouter.initialize()
instead - tracker:
NgxMatomoTrackerModule
is deprecated, useNgxMatomoModule
instead