react-native-matomo
react-native-matomo copied to clipboard
[question] pros and cons to use matomo javascript client vs react-native-matomo
I have a RN project that works in managed expo environment, so its not possible to use react-native-matomo without eject.
But I found matomo support tracking http API https://developer.matomo.org/api-reference/tracking-api
and provided the js client https://developer.matomo.org/guides/tracking-javascript-guide https://github.com/matomo-org/matomo-nodejs-tracker
- How do you think if its possible to use matomo javascript client in RN/Expo?
- What's the pros and cons to use the js client directly vs use react-native-matomo ?
It's a good question ! Can somebody advise ?
@gasolin I found out, that this is connected to your issue here: https://github.com/matomo-org/matomo-nodejs-tracker/issues/59
Did you manage to implement Matomo in your Expo app successfully?
@donni106 ...alas we end up use the GA instead
Alright @gasolin, thx for the answer. I am currently working on a package to make Matomo tracking available in Expo apps. I will let you know.
I have started a package to be able to track from Expo project: https://github.com/donni106/matomo-tracker-react-native
A very first integration works with manually firing the tracking of actions.
Feel free to use it and create feature requests.