guillaumeparis2000 / react-piwik

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

Added pathBasename option #17

Closed coolassassin closed 4 years ago

coolassassin commented 4 years ago

The motivation of this fix based on the React-router option to have a basename for all of your routes. Using this option router provides only an additional path, without basename and it brakes tracking.