Skip to content

Commit bd57f55

Browse files
authored
Refactor: rename the finished card tokenization event (#2450)
2 parents b7dbf62 + 289957a commit bd57f55

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

benefits/enrollment/templates/enrollment/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1 class="pb-lg-8 pb-4">
3535
{% endcomment %}
3636
{% translate "Please wait..." as loading_text %}
3737
<script nonce="{{ request.csp_nonce }}">
38-
var startedEvent = "started card tokenization", closedEvent = "ended card tokenization";
38+
var startedEvent = "started card tokenization", closedEvent = "finished card tokenization";
3939

4040
$.ajax({ dataType: "script", attrs: { nonce: "{{ request.csp_nonce }}"}, url: "{{ card_tokenize_url }}" })
4141
.done(function() {

benefits/in_person/templates/in_person/enrollment/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 class="p-0 m-0 text-left">In-person enrollment</h2>
4141
</div>
4242

4343
<script nonce="{{ request.csp_nonce }}">
44-
var startedEvent = "started card tokenization", closedEvent = "ended card tokenization";
44+
var startedEvent = "started card tokenization", closedEvent = "finished card tokenization";
4545

4646
$.ajax({ dataType: "script", attrs: { nonce: "{{ request.csp_nonce }}"}, url: "{{ card_tokenize_url }}" })
4747
.done(function() {

docs/development/application-logic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ user-->>user: display Littlepay overlay
274274
user-->>analytics: started card tokenization
275275
user->>littlepay: provides debit or credit card details
276276
littlepay-->>user: card token
277-
user-->>analytics: ended card tokenization
277+
user-->>analytics: finished card tokenization
278278
user->>benefits: POST back card token
279279
deactivate user
280280
activate benefits

docs/product-and-design/analytics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Read more on each of these events on the [Amplitude event documentation for Bene
8989

9090
These events track the progress of a user who has successfully verified their eligibility and is enrolling their payment card with the system.
9191

92-
- ended card tokenization
92+
- finished card tokenization
9393
- returned enrollment
9494
- started card tokenization
9595

@@ -101,4 +101,4 @@ Various key metrics are collected and analyzed, including:
101101

102102
- **Number of users who successfully completed authentication**: Users who `started sign in`, `finished sign in`
103103
- **Number of users who successfully verified eligibility**: Users who completed the above and `selected enrollment flow`, `started eligibility`, `returned eligibility` with a status of `True`
104-
- **Numbers of users who successfully completed enrollment**: Users who completed all of the above and `started card tokenization`, `ended card tokenization` and `returned enrollment` with a status of `Success`
104+
- **Numbers of users who successfully completed enrollment**: Users who completed all of the above and `started card tokenization`, `finished card tokenization` and `returned enrollment` with a status of `success`

0 commit comments

Comments
 (0)