Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Releases: jonkoops/matomo-tracker

v0.7.0

23 May 09:51
Compare
Choose a tag to compare

New Features ✨

  • Packages are now published under the @jonkoops organization on NPM (see migration guide).

Enhancements 📝

  • Source files are now included in the NPM package (see #711).
  • Children prop added to MatomoProvider (see #798)

Migration 🚚

Since the municipality of Amsterdam no longer has any interest in maintaining these libraries they have been moved to a new organization. The packages have been renamed as follows:

  • @datapunt/matomo-tracker-js ➡️ @jonkoops/matomo-tracker
  • @datapunt/matomo-tracker-react ➡️ @jonkoops/matomo-tracker-react

To upgrade your project run the following commands:

npm uninstall @datapunt/matomo-tracker-js @datapunt/matomo-tracker-react
npm install @jonkoops/matomo-tracker @jonkoops/matomo-tracker-react

v0.5.1

11 Aug 08:11
Compare
Choose a tag to compare
  • Fixed: support array of instructions on initial options on configurations object

v0.5.0

04 Aug 09:19
Compare
Choose a tag to compare
  • Added: Support outbound links on <a> child elements.
  • Added: removeEcommerceItem and clearEcommerceCart action

v0.4.0

15 Feb 11:07
Compare
Choose a tag to compare
  • Added: Support React v17

v0.3.1

22 Oct 14:52
Compare
Choose a tag to compare
  • Fixed: External links not being tracked

v0.3.0

21 Oct 09:09
Compare
Choose a tag to compare
  • Changed: methods returned from useMatomo are now memoized so they can be tracked as dependencies (for example in useEffect)
  • [BREAKING] Changed: The siteId option in the MatomoTracker constructor is now required.

v0.2.1

04 Sep 14:03
Compare
Choose a tag to compare
  • Fixed: The params argument for the trackPageView method is now optional
  • Fixed: The pushInstruction method is now exposed through useMatomo

v0.2.0

31 Aug 09:50
Compare
Choose a tag to compare
  • Added: include configurations in the MatomoTracker.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

v0.1.5

v0.1.4