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

Amplitude session id constantly -1 #365

Closed
lilidotshi opened this issue Sep 25, 2024 · 1 comment
Closed

Amplitude session id constantly -1 #365

lilidotshi opened this issue Sep 25, 2024 · 1 comment
Assignees
Labels

Comments

@lilidotshi
Copy link

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

@bsneed
Copy link
Contributor

bsneed commented Sep 25, 2024

Hi @lilidotshi,

The amplitude session plugin (Analytics-Swift-Amplitude) sends the amplitude sessionID to segment, and the data is then sent from segment to amplitude, not from the SDK itself. Since I can't view your workspace to troubleshoot and it's not an analytics-swift issue, I'd recommend you reach out to [email protected] for support. Feel free to reference this ticket when talking to them.

@bsneed bsneed closed this as completed Sep 25, 2024
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