department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 204 forks source link

Analytics Implementation: Authenticated Experience - Direct deposit for education GA dashboard #20652

Closed Samara-Strauss closed 3 years ago

Samara-Strauss commented 3 years ago

Metrics Reporting Request

Description

Who is this request for?

Authenticated Experience - Direct deposit for education GA dashboard.

Original tracking details are in #19334.

Putting the direct deposit for edu analytics into a GA dashboard. This dashboard can be similar to the existing GA dashboard for direct deposit for comp & pen, though there are some key differences for direct deposit for edu because we don't track all the same metrics as we do for comp & pen. This is what we are looking to track (and what tracking was implemented for in #19334):

Timeframe for Analytics Requested

Please provide the timeframe for the metrics you are requesting. What timeframes are you looking to analyze (e.g. before vs. after dd/mm/yy)?

We are looking to have this dashboard ASAP. We're sorry for the last minute request — we thought a dashboard would be part of the request in 19334, but it was not clear that was only for tracking.

Analytics to Track Down

See above.

Which Product Questions are you trying to answer?

Link to Metrics

N/A

Additional Comments

N/A

Please leave the following blank

Acceptance Criteria

Definition of Done

Samara-Strauss commented 3 years ago

Estimated delivery of the dashboard is some time during the week of 3/8. Slack convo

bmcgrady-ep commented 3 years ago

@Samara-Strauss - Here is the GA dashboard for Edu Direct Deposit User Interactions.

One thing that I will note: There currently is no distinguishment between View Payment History link clicks for EDU and CNP. There are two solutions for tracking this. The first solution would be to implement tracking in the Data Layer for the View Payment History link clicks. The second solution would be a custom segment. I created a custom segment that would only show the events that happen for sessions with EDU profile logins.

If you want to go the Data Layer route, then a developer would need to implement the following Data Layer on View Payment History Link clicks:image

For EDU Profiles

dataLayer.push({
  event: 'profile-navigation',
  profile-action: 'view-link',
  profile-section: 'edu-view-payment-history'
})

For CNP Profiles

dataLayer.push({
  event: 'profile-navigation',
  profile-action: 'view-link',
  profile-section: 'cnp-view-payment-history'
})
Samara-Strauss commented 3 years ago

Here is the GA dashboard for Edu Direct Deposit User Interactions.

THANK YOU!!!

One thing that I will note: There currently is no distinguishment between View Payment History link clicks for EDU and CNP.

That's because unlike direct deposit, all payment types are tracked in the same place regardless of what benefit they're for. So, there's no need to distinguish between payment type here. I mostly included the View Payment History link here for convenience-sake, even though it is also on the comp & pen dashboard.

Screen Shot 2021-03-11 at 11 33 28 AM

Question — which view should I select? All VA.gov? WBC only?

bmcgrady-ep commented 3 years ago

Okay, thank you for clarifying. Please use the All VA.gov View.

Samara-Strauss commented 3 years ago

Awesome, thank you! I'm in!

Two things:

  1. I am not seeing sections for successful saves/submissions and failed saves/submissions, which were part of the original request. Can you add those?
  2. Question: I just set up the dashboard about 2 minutes ago, but we did have 1 successful UAT participant around 11:30 ET today that accessed this feature in production. However, I am not seeing successful retrieval data (the system successfully retrieved his info) or clicks to the edit link (he clicked this a couple of times) showing up on the dashboard. Is this indicative of a problem, or is this because I hadn't finished setting up the dashboard yet?
Screen Shot 2021-03-11 at 1 53 38 PM
bmcgrady-ep commented 3 years ago

@Samara-Strauss - I made a few updates to the dashboard, but also make sure that the date range is set to today's date (March 11th).

Let me know if this helps.

Samara-Strauss commented 3 years ago

Ah, silly me! You're right — part of the problem was that the date range didn't include today. Totally forgot that's the default.

I changed the date range to include today, and successful retrievals are coming through! But I'm still not seeing anything for the clicks to the Edit link, which I would expect to see. I can always check back tomorrow on this, as I know that sometimes the data is incomplete for the current day.

Screen Shot 2021-03-11 at 4 05 43 PM

Also, let me know when we can expect to see successful saves and failed saves on the dashboard. Thanks!

Samara-Strauss commented 3 years ago

Hi @bmcgrady-ep — we are still not seeing anything populating in the "Clicks edit link" box even through our second UAT participant. Successful retrievals updated, so that appears to be working fine. Can you look into this?

Also, let me know when we can start seeing data for successful and failed saves on the dashboard.

Screen Shot 2021-03-12 at 12.43.13 PM.png

bmcgrady-ep commented 3 years ago

@Samara-Strauss - I am seeing events coming into staging from testing. Do you have a test user I can use on Production (va.gov) to see if the edu events are coming in?

Samara-Strauss commented 3 years ago

@bmcgrady-ep no, unfortunately we do not have production users. However, our UAT participants are all testing in production — feature is behind a feature flag and is only accessible in production for those participants during testing. So, I can assure you something is not working right, as we've seen our two participants click the edit link in testing.

bmcgrady-ep commented 3 years ago

Hi @Samara-Strauss - I updated the dashboard to include the failures and successes in form submits of Direct Deposit information. Also, I am seeing EDU Direct Deposit events coming into GA staging, so it looks to be working correctly on staging.

Samara-Strauss commented 3 years ago

@bmcgrady-ep is there an updated link to the dashboard? This is the one I have, and it is not yet showing save successes/failures. I'm assuming maybe that's because there's a new link, so let me know if that's correct or not.

Samara-Strauss commented 3 years ago

Following up on this: @bmcgrady-ep is there a new link to the updated dashboard?

bmcgrady-ep commented 3 years ago

Hi @Samara-Strauss - Can you check and see if this link works for you? Thanks!

Samara-Strauss commented 3 years ago

It works! Thank you! I think we are good to close this out. Thank you so much for all of your help.

bmcgrady-ep commented 3 years ago

Glad it works! Feel free to reach out if you need any more help!