Skip to content

Question: Managing the session length, reset etc. #541

@luigi7up

Description

@luigi7up

Hi! I'm using Segment and Amplitude Action as destination and I'd like to be able to manage the session duration, be able to reset the session once the user logs out (maybe) etc

In the old Segment JS and Amplitude integration, Segment was session agnostic. It was up to us to manage the session cycle and manage it by sending an integration object in the payload similar to this one:

integrations: 
{
     amplitude: {session_id: xxxx}
}

Now, it seems that Segment is managing the session through this plugin. Is there a way to interact with the plugin or we can only do it by manually changing the localStorage values?

Best regards
Luka

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