All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Prefix the change with one of these keywords:
- Added: for new features.
- Changed: for changes in existing functionality.
- Deprecated: for soon-to-be removed features.
- Removed: for now removed features.
- Fixed: for any bug fixes.
- Security: in case of vulnerabilities.
- Fixed: Made
trackPageView
params
argument optional
- Fixed: support array of instructions on initial options on
configurations
object
- Added: Support outbound links on
<a>
child elements. - Added:
removeEcommerceItem
andclearEcommerceCart
action
- Added: Support React v17
- Fixed: External links not being tracked
- Changed: methods returned from
useMatomo
are now memoized so they can be tracked as dependencies (for example inuseEffect
) - [BREAKING] Changed: The
siteId
option in theMatomoTracker
constructor is now required.
- Fixed: The
params
argument for thetrackPageView
method is now optional - Fixed: The
pushInstruction
method is now exposed throughuseMatomo
- Added: include
configurations
in theMatomoTracker.initialize
params - Added: add a generic
pushInstruction
method to pass instructions to Matomo - Added: add
disabled
flag to options to make all tracking calls no-ops - Removed: removed the
window.MatomoTracker
global - Fixed: enableHeartBeat always set default seconds value