Open leadhkr opened 6 years ago
@sagarpatel8384 Did you find any alternatives? I may just fork this code and make it work for my needs and may PR back in but my implementation might end up being too specific to my needs in the short term.
i would love to see a fork + pull request as i dont have the resources to take care of this repo at the moment. sry 😔
I need it too.......
Found this repo on Motomos website. Bummer that v4 isn't supported.
Hi everyone,
I have now removed this integration from the Matomo website.
If this has been resolved or anyone knows another Matomo react integration that should be featured, please contact us.
I use this package with react-router 5.0.0
import { createBrowserHistory } from "history";
import { Router } from 'react-router';
import MatomoTracker from 'piwik-react-router';
const history = MatomoTracker.connectToHistory(createBrowserHistory());
const App = () => {
return <Router history={history} children={AppRoutes} />
}
Is there an appetite for adding react router 4 (or 2/3) support? Not many apps are still on v1. If not is there an alternative to using Matomo with react?