Closed caalberts closed 6 years ago
Hey @caalberts, thanks for your pull request! I'd like to merge your contribution into master asap but before i'd like to ask if you can change https://github.com/joernroeder/piwik-react-router/blob/master/index.js#L162 to use the new setter too. I'd like to have only one entry point to interact with piwiks userid. thanks!
@caalberts just published a new version to npm 0.11.0
Adding a public API to set user ID after instantiating
PiwikReactRouter
.The method
setUserId()
can be used instead of having to use the low levelpush()
API with a literal'setUserId'
method name.