Hi Experts,
We have a few websites for corporate information and apps for web and web/mobile app.
e.g. www.abc.com : a corporate website using GTM SDK
app.abc.com : application website using Flutter SDK
we also have native mobile app for iOS and Android by Flutter SDK.
It seems GTM SDK from www.abc.com continues to maintain Single Device ID and User ID(after login), however Flutter SDK from app.abc.com web app does inconsistently. app.abc.com has login feature and the application is configured as such there is no session time, hence no matter how long users abandoned and then came back(hours, days and so on), the application session remains, so all of user actions are associated with its user identity. However, Amplitude Flutter SDK does not do in the same way how application session control. From the help doc, default web session is 30 mins.
What we are sesing the problem, for example
An user logs in and uses the application for a while and leave the application without interaction for 40mins. And then the user comes back to the application, the application session continues to remain while Amplitude Flutter SDK loose the session. Hence when an event is fired, there is no “User ID” value.
How do we control this case?
FYI, When user moves to www.abc.com after Amplitude Flutter SDK session timeout, the GTM SDK still has User ID value. I found this via Amplitude Event Explorer Chrome extension.
Looking forward to hearing from you.
Cheers,
Jooho