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

Add option for setting client/server tracker names (piwik.js, piwik.php) #35

Closed LINKIWI closed 7 years ago

LINKIWI commented 7 years ago

Add clientTrackerName and serverTrackerName fields to PiwikReactRouter options to allow overriding default piwik.js and piwik.php names used by this client.

(These names are pretty lengthy, let me know if you have a better and/or more concise variable name)

Fixes #34.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 6e2dfaaafee19a048238174cc6767105cac77fa8 on LINKIWI:client-server-tracker-options into 2510ae2e4083e5538758a6389d035d182aec7695 on joernroeder:master.

joernroeder commented 7 years ago

i've pushed a new release 0.8.1 to npm as well.