Skip to content

Amplitude session id constantly -1 #365

@lilidotshi

Description

@lilidotshi

Describe the bug
The session ID is not being linked properly with amplitude.

To Reproduce
Steps to reproduce the behavior:

  1. Integrate Amplitude plugin by following the examples
  2. Track some events
  3. In amplitude, see that the events are not being logged with a valid session id, even though it is being set within the AmplitudeSession plugin. All the session ids are -1.

Expected behavior
events should be connected via a session id, right now they are not connected.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • Library Version in use: Analytics-Swift 1.6.1, Analytics-Swift-Amplitude 1.4.3
  • Platform being tested: iOS
  • Integrations in use: Amplitude

Additional context
Amplitude also indicates that these events are being sent by WebKit605, but they are coming from the SDK.

Screenshot 2024-09-25 at 12 49 58 PM

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions