We really don’t want to have to eject our project, because this is probably the only advantage we’ll get from it. Anyway, we really want to turn on trackAppLifecycleEvents in our app so we can track installs, and it is mentioned in the Segment docs here: Analytics for React Native 2.0 | Segment Documentation
But there doesn’t seem to be a way to do this in the expo-analytics-segment package. is that intentional?
Hi! We are working on a couple of different methods to allow for an installation-referrer, but right now it’s not available in the managed workflow. Hopefully that will change soon, though!
Thanks charliecruzan for the link!
However, I don’t really understand how expo-application module would be able to help with setting trackAppLifecycleEvents on segment analytics initialization. Might be useful to see an example of expo-application module being used to initialize segment with android, ios keys and trackAppLifecycleEvents set to true.
Thanks for the clarification, however I don’t think that this will help with Segment trackAppLifecycleEvents. Currently, Segment initialisation in Expo doesn’t allow to specify it. It limits the functionality of Segment within Expo to almost unusable state for tracking standard events (like application installed event, which is one of the most common in most of the attribution/marketing tools).
Application.getInstallReferrerAsync() → is only available on Android and allows to track google play referrer content, but it is just a small part of marketing campaigns/world.