guillaumeparis2000 / react-piwik

Library that allow to connect piwik with the react-router and track custom events
31 stars 17 forks source link

Fix issue #35 Initial page visit is not tracked #36

Closed totutotu closed 4 years ago

totutotu commented 4 years ago

Currently all tracking goes through history.listen((loc) => ... function which triggers only when the location changes, so the initial location is not tracked.