Releases: EmmanuelRoux/ngx-matomo-client
Releases · EmmanuelRoux/ngx-matomo-client
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