Skip to content

Random events not appearing in Segment debugger #177

Description

@fergushowe-wa

We're experiencing an issue with a production app where, although the majority of tracked events are reaching Mixpanel and the debugger page in https://app.segment.com/, a handful are not. To test this, I've been triggering the same button press 10 times in quick succession, with debug: true.

Each of the ten events is logged correctly in the app logs like so -

I/flutter ( 1861): │ 🐛 Segment: TRACK event (button_press-aboutInstallationAppointmentReferenceNoRadioButton) saved:

I/flutter ( 1861): │ 🐛 {"anonymousId":"7cb6bd58-3999-4e42-b01e-f0a4e0694038","messageId":"654d83af-b3b2-4516-84b5-a9c3861ba2e4","userId":"fl3aFKW2FYcH9q7zVOJFPDU3Fny2","timestamp":"2025-09-02T14:48:18.228170Z","context":{"app":{"build":"1","name":"[REMOVED]","namespace":"[REMOVED]","version":"1.4.6"},"device":{"manufacturer":"Google","model":"Pixel 4a","name":"sunfish","type":"android"},"library":{"name":"analytics-flutter","version":"1.1.8"},"locale":"en-GB","network":{"cellular":false,"wifi":true,"bluetooth":false},"os":{"name":"Android","version":"13"},"screen":{"height":2072,"width":1080,"density":2.75},"timezone":"Europe/London","instanceId":"80e7511d-bdab-4e1c-a229-13560a9d6606","traits":{"email":"[REMOVED]"}},"integrations":null,"_metadata":{"bundled":[],"unbundled":["Mixpanel (Actions)"],"bundledIds":[]},"event":"button_press-aboutInstallationAppointmentReferenceNoRadioButton","properties":{"environment":"prod"},"type":"track"}

A few moments after the last event, this also appears in the app logs

I/flutter ( 1861): │ 🐛 Segment: Sent 10 events

However, in repeated tests, I'm seeing that sometimes only 8 or 9 out of the full ten events appears in the debugger page on web. And this is after waiting a few minutes. Sometime all 10 do get through, but it's temperamental. Looking at the JSON for the missing events doesn't indicate anything unusual compared to the ones that did get through - all events look the same.

Any guidance would be much appreciated, our analytics setup is pretty standard so I'm unsure how to approach this problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions