[MGNLPN-358] Returning visitor is not resolved properly Created: 16/Jan/17  Updated: 20/Feb/17  Resolved: 17/Feb/17

Status: Closed
Project: Magnolia Personalization
Component/s: None
Affects Version/s: 1.3.1, 1.4
Fix Version/s: 1.2.10, 1.3.3, 1.4.3

Type: Bug Priority: Neutral
Reporter: Antonín Juran Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLPN-354 Visitor trait not working properly Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Documentation update required:
Yes
Sprint: Kromeriz 83
Story Points: 5

 Description   

VisitorDetectorFilter sets the Visitor trait object as returning for the logged user and for anonymous user this value is set according to the cookie value. So basically in the end every request is returning visitor.
Suggestions:

  • The filter class should be reviewed. Especially the way how we handle the returning visitor setting. E.g. the user is always returning if not anonymous. That doesn't have to be true if this is the first login of the user.


 Comments   
Comment by Antonín Juran [ 15/Feb/17 ]

For RN:
Using „new“ cookie in configuration of VisitorDetectorFilter (/server/filters/visitor/visitorCookies/new) is possible to configure „new“ resp. „returning“ visitor. Value of its property „maxAge“ specifies expiration time (in seconds) of the cookie. The time indicates for how long time is the visitor considered as new. After the time period is the visitor considered as returning. Default value is 86400 seconds (24 hours).

Generated at Mon Feb 12 06:36:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.