Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Router v4 Support #58

Open
leadhkr opened this issue Oct 13, 2018 · 6 comments
Open

React Router v4 Support #58

leadhkr opened this issue Oct 13, 2018 · 6 comments

Comments

@leadhkr
Copy link

leadhkr commented Oct 13, 2018

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?

@smitch88
Copy link

smitch88 commented Nov 9, 2018

@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.

@joernroeder
Copy link
Owner

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 😔

@koupeng
Copy link

koupeng commented Feb 15, 2019

I need it too.......

@ghost
Copy link

ghost commented Mar 4, 2019

Found this repo on Motomos website. Bummer that v4 isn't supported.

@Findus23
Copy link

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.

@dimitar-nikovski
Copy link

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} />
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants