From bf2632a53d10f827fb50f08d6520c406cc9902ce Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Thu, 19 Sep 2024 19:52:59 +0000 Subject: [PATCH] refactor(analytics): use flow.eligibility_verifier property instead this is a more accurate value, and matches the internal EnrollmentEvent --- benefits/core/analytics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benefits/core/analytics.py b/benefits/core/analytics.py index 2797061d1..dfc0607f3 100644 --- a/benefits/core/analytics.py +++ b/benefits/core/analytics.py @@ -45,7 +45,7 @@ def __init__(self, request, event_type, **kwargs): agency = session.agency(request) agency_name = agency.long_name if agency else None flow = session.flow(request) - verifier_name = flow.system_name if flow else None + verifier_name = flow.eligibility_verifier if flow else None enrollment_flows = [flow.system_name] if flow else None self.update_event_properties(