Migrating from @datapunt/matomo-tracker-react to matomo-tracker-for-react
This guide moves you from @datapunt/matomo-tracker-react v0.5.1 to matomo-tracker-for-react v2.1.0. Estimated effort: 5 minutes for a typical app.
1. Why switch
@datapunt/matomo-tracker-reactmatomo-tracker-for-reactLast publish2022maintainedTypeScript typesnone (no .d.ts)first-class, ships .d.tsRouter supportReact Router onlyany router (React Router, TanStack,