Comments (2)
Checked the source and found the matomo-nodejs-tracker
use some nodejs API, its not possible to reuse it directly for RN mobile app.
https://github.com/matomo-org/matomo-nodejs-tracker/blob/master/index.js
But I think its possible to wrap node specific API with the frontend-compatible API, to make it work in both environment, like replace:
request
tofetch/axios
,query-string
to https://www.npmjs.com/package/query-stringurl-parse
to https://www.npmjs.com/package/url-parseEventEmitter
to https://www.npmjs.com/package/eventemitter3 / https://www.npmjs.com/package/eventsutil.inherits
to https://www.npmjs.com/package/inherits
from matomo-nodejs-tracker.
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.
from matomo-nodejs-tracker.
Related Issues (20)
- CORS problem with this module and cloud version HOT 3
- self signed certificate HOT 2
- Dimensions HOT 4
- Wrong Client IP HOT 1
- Fails to build when imported in Create React App HOT 2
- allow custom ending, not only piwik.php or matomo.php HOT 3
- custom ip? HOT 2
- Support matomo.trackEvent HOT 2
- Support `send_image=0` and 204 response code
- Cannot send search events HOT 1
- Homepage wrong on NPM HOT 3
- Add TypeScript definitions HOT 19
- Unable to determine the domain name HOT 1
- Compatibility with Matomo 4 HOT 2
- Support new `ca` tracking parameter for tracking requests that aren't page views HOT 1
- Basic Query HOT 2
- Import error: TypeError: Vn is not a constructor HOT 2
- Support for multiple side ids?
- Add support for new Crash Analytics feature
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 matomo-nodejs-tracker.