Comments (6)
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} />
}
from piwik-react-router.
Found this repo on Motomos website. Bummer that v4 isn't supported.
from piwik-react-router.
@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.
from piwik-react-router.
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 😔
from piwik-react-router.
I need it too.......
from piwik-react-router.
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.
from piwik-react-router.
Related Issues (20)
- should it be addeded to server side code? HOT 1
- Can't find variable: document HOT 4
- React-Native Support
- Incorrect url in Piwik when use hashHistory from react-router HOT 6
- add optional proxy function argument to .connectToHistory
- Feature request: Being able to skip initialization of Piwik HOT 2
- Feature request: Allow setting of custom error tracking handler HOT 1
- Page title updating past track event? HOT 3
- TypeError: Cannot read property 'parentNode' of undefined HOT 10
- Dynamic piwik URL HOT 1
- `PiwikTracker.track` sends URLs with appended slash HOT 1
- Rename this package to matomo-react-router HOT 1
- CSP (Content Security Policy) HOT 1
- react-router-dom HOT 4
- Does it support matomo? HOT 2
- getBaseUrl should take port into account
- You cannot change <Router history>
- connectToHistory typescript definition does not accept same arguments as the function.
- tracking not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piwik-react-router.