Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing vastly more "Application installed" events since upgrading from 1.5.9 to 1.6.0 #364

Closed
danniss10 opened this issue Sep 20, 2024 · 6 comments
Assignees
Labels

Comments

@danniss10
Copy link

danniss10 commented Sep 20, 2024

Describe the bug
We recently upgraded our analytics-swift version from 1.5.9 to 1.6.0. Since doing so, we have seen our volume of daily Application Installed events (from the application lifecycle events in the library) nearly double, while our other custom events have stayed roughly the same.

We are struggling to understand what to make of this. We are wondering if there is some change in the library that is more efficiently sending the application installed events now?

We are also noticing after looking further into the data that huge volumes of these users have already downloaded and used our app and are having Application Installed called again.

To Reproduce

This is our configuration

        let segmentKey = getSegmentKey()
        let configuration = Configuration(writeKey: segmentKey)
            .trackApplicationLifecycleEvents(true)
        

        analytics = Analytics(configuration: configuration)

Expected behavior

Holding all else constant, we expect the relative volume of application lifecycle events to be mostly constant relative to similar following custom events such as our custom splash screen viewed event.

Platform (please complete the following information):

  • Library Version in use: 1.6.0
  • Platform being tested: iOS
  • Integrations in use: Amplitude

Additional context

We have always noticed that the number of Application Installed events from segment were lower than the number seen on App Store Connect. We always assumed that this was just because many people download and don't open the app. Now over the last few days we are actually see volumes of Application Installed events that are sometimes higher then shown on App Store Connect. In theory, these two numbers should mostly align we think.

Really appreciate help in understanding these discrepancies!

@bsneed
Copy link
Contributor

bsneed commented Sep 20, 2024

Hi @danniss10! Are you using any device mode destinations like amplitude? Also, it looks like this fix came in recently. be28488 but hasn't been released yet. It looks/sounds like it could address what you're talking about. Can you have a look and share your thoughts?

@danniss10
Copy link
Author

Thanks for the quick response @bsneed!

We aren't doing anything special with amplitude in the SDK/at a code level. I think it's just one of our normal destinations in the web UI.

With respect to the fix you mentioned, that does look like it's addressing the issue we are facing! Do you know when it will be released/is there a way to leverage the fix now?

Also noticed the fix is in one of the plugins -- is there something special I have to do to use the plugin or does .trackApplicationLifecycleEvents(true) automatically default to using that plugin?

@bsneed
Copy link
Contributor

bsneed commented Sep 20, 2024

I can do a release now for you. Give me just a moment and 1.6.1 will be up. No, nothing special you need to do. It's one of the auto-loaded plugins, so it should "just work".

@bsneed bsneed closed this as completed Sep 20, 2024
@bsneed
Copy link
Contributor

bsneed commented Sep 20, 2024

Done! Thanks so much @danniss10 !

@danniss10
Copy link
Author

Huge, thank you for the quick turnaround @bsneed!!

@bsneed
Copy link
Contributor

bsneed commented Sep 20, 2024

Thanks to @remstos for the fix! :high-five:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants