A/B testing - How are unique sessions interpreted?
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
Issue
- How is a unique session interpreted?
Environment
- Analytics Cloud
- Liferay DXP
Resolution
- The user sessions have a window of 30 minutes since the first event has been sent when a user accesses DXP. In this situation, any event that is sent, after 30 minutes from the first event, will be considered in a new user session.
- If you look at the request payload sent to Analytics Cloud, you will see a property called userId, this information is used to create the session.
This userId, is also stored into the Browser Local Storage, so if you open a new tab and access DXP, it will use the same userId.
- The user session belongs to a single day. So if there is a session open, it will be refreshed after 00:00h.
did-this-article-resolve-your-issue