umami icon indicating copy to clipboard operation
umami copied to clipboard

Integration with Expo Router

Open AprilNEA opened this issue 1 year ago • 2 comments

Describe the feature or enhancement

As a developer involved in building applications with Expo, I've been leveraging Expo Router to enhance the routing capabilities in my projects. Expo Router provides a framework that allows for URL-like routing within React Native applications, offering a seamless experience similar to web navigation.

Expo Router - Screen Tracking

I kindly request the consideration of adding support or integration with the Expo Router. This feature would not only expand your user base by accommodating the needs of React Native developers but also enrich the analytics insights by capturing more detailed user interactions through advanced routing capabilities.

Umami has proven to be an excellent tool for web analytics; however, it currently focuses solely on the web platform, leaving a gap in the mobile application domain where no equally impressive open-source software exists.

Given the current landscape, I believe starting support from Expo Router could be an excellent entry point for extending Umami's capabilities into mobile app analytics. The lack of direct support or integration between Umami and the latest version of Expo Router is a missed opportunity. This integration would be incredibly beneficial for developers like myself who are looking for robust analytics solutions while utilizing the advanced routing features provided by Expo Route.

AprilNEA avatar Apr 06 '24 04:04 AprilNEA

I think similar to their node SDK, if they release SDKs for other platforms then it can be leveraged. Just out of curiosity, if you have an expo project up and running, can you give it a try and see if this package works for React Native as well because I don't see any node specific APIs being used in this SDK that should be problematic for React Native

AkashRajpurohit avatar Apr 08 '24 10:04 AkashRajpurohit

I think similar to their node SDK, if they release SDKs for other platforms then it can be leveraged. Just out of curiosity, if you have an expo project up and running, can you give it a try and see if this package works for React Native as well because I don't see any node specific APIs being used in this SDK that should be problematic for React Native

It's really a nice library. I tried it but ran into a problem, umami doesn't receive the data sent in the expo client because the User-Agent isn't set correctly (no node version found).

AprilNEA avatar Apr 10 '24 15:04 AprilNEA

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jun 10 '24 01:06 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jun 17 '24 01:06 github-actions[bot]