Commit 1ed7cfb
authored
Merge pull request #2515 from cfpb/2514-add-custom-analytics-event
π Currently on Dev: `v3.2.9b` π
## Changes
- add `@cfpb/cfpb-analytics` library (same that [consumerfinance.gov uses](https://github.com/cfpb/consumerfinance.gov/blob/main/package.json#L21))
- add a sample test event to OLARFT when a row is saved (same as we did [in SBL](https://github.com/cfpb/sbl-frontend/blob/7169f2123db2a04dbd2fa18a58945883017c2a1f/src/utils/useSignAndCertify.ts#L32-L36))
## Testing
1. Does the OLARFT page load normally on Dev?
Closes #2514File tree
3 files changed
+16
-0
lines changed- src/tools/larft/components/row-editor
3 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1667 | 1667 | | |
1668 | 1668 | | |
1669 | 1669 | | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
1670 | 1677 | | |
1671 | 1678 | | |
1672 | 1679 | | |
| |||
6739 | 6746 | | |
6740 | 6747 | | |
6741 | 6748 | | |
| 6749 | + | |
6742 | 6750 | | |
6743 | 6751 | | |
6744 | 6752 | | |
| |||
0 commit comments