Skip to content

Loosing events after upgrading to 1.5.7 #324

Closed
@xmollv

Description

@xmollv

Describe the bug

A few days ago our team realized that some analytics were wrong, and after some investigation it seems that something happened after 1.5.5 where Segment is loosing tracked events. Let me explain:

We had build 1.2 on the App Store using Segment 1.5.5. When we released 1.3 (and 1.4), the only change about analytics was updating Segment to 1.5.7. After doing that, we realized on Mixpanel (what we use to read Segment's data) that some events were totally wrong. We have an onboarding flow where you do steps A → B → C. To reach C, you must have gotten through A & B. Since 1.3, we were seeing that some users reached C without going through A & B, which is impossible.

We then released 1.4.1 where the only change was downgrading Segment to 1.5.5. Since then, we see all events back to normal. Not a single user has managed to skip A and/or B, which leads me to believe that in some of the latest versions of Segment there's a bug somewhere that's leading to data loss.

Here's a Mixpanel graph of the discrepancy in the data. Observe how March 23rd the lines start diverging (release of our 1.3 app version which included Segment's 1.5.7 SDK) until April 3rd, where almost all of our users are on 1.4.1 (which means they're using the now downgraded version of Segment, that is 1.5.5).

Screenshot 2024-04-04 at 10 45 50

To Reproduce

Unclear. Seems to start happening on versions > 1.5.5 of the SDK.

Expected behavior

No data loss of tracked events.

Screenshots

See above.

Platform (please complete the following information):

  • Library Version in use: 1.5.5 and 1.5.7
  • Platform being tested: iOS
  • Integrations in use: Mixpanel

Additional context

N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions