Skip to content

setting distinctid after session already started, create another session and new visitor #3663

@Vikaskumargd

Description

@Vikaskumargd

Describe the Bug

User Journey:

  1. User go to landing page anonymously. (session started and visible in Umami Session page)
  2. User now login/signup. (I am setting distinctid as userid using umami.identify(unique_id: string). Now new session started)

Now I have 2 different session visible on Session page with different visitors.

It should not be the case.

Database

PostgreSQL

Relevant log output

Which Umami version are you using? (if relevant)

v2.19.0

Which browser are you using? (if relevant)

Edge

How are you deploying your application? (if relevant)

Dokploy

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