Skip to content

AnonymousToAuthenticatedStrategy ​

Rasuvaeff\Yii3AbTestingWeb\AnonymousToAuthenticatedStrategy

Enum · rasuvaeff/yii3-ab-testing-web · Source

Controls identity and sticky-assignment handling when an anonymous visitor becomes authenticated.

Cases ​

CaseValueMeaning
UseAuthenticatedId—Use the authenticated id and start browser sticky assignments afresh.
KeepAnonymousId—Keep using the anonymous browser id after authentication.
MigrateAssignments—Use the authenticated id while retaining existing browser assignments.