Cross-platform analytics for React and React Native apps.
Install analytics-x
using yarn
:
yarn add analytics-x
No additional setup required for react-native.
If using Webpack, you need to add the .dom.js
extension to the extensions array.
module.exports = {
resolve: {
extensions: ['.dom.js', '.js', '.json'],
},
};
If you have any ideas on how this module could be better, create an Issue or submit a PR.