joernroeder / piwik-react-router

Piwik analytics component for react-router
https://www.npmjs.org/package/piwik-react-router
MIT License
61 stars 22 forks source link

getBaseUrl should take port into account #61

Open jonfreedman opened 4 years ago

jonfreedman commented 4 years ago

If you're doing local development e.g. pointing the browser at http://localhost:3000/ then tracking is sent for http://localhost/ - this isn't a big deal in this specific case but it might catch some other people out.