Closed jonwehausen closed 4 years ago
Screenshot of message
Perform the following dataLayer push on ALL clicks of yes or no:
dataLayer.push({
'event': 'edu-form-change',
'edu-form-field': 'ineligibility-still-apply-radio-button',
'edu-form-value': 'yes' //or 'no'
});
Screenshot of interaction
Execute the following dataLayer push
dataLayer.push({
'event': 'edu-navigation',
'edu-action': 'explore-other-benefits' //or 'finish-later',
});
DEV IGNORE - Setup GA Sequence Segments - @nedierecel
education/apply-for-education-benefits/application/1995/benefits/stem
'edu-1995--submission-successful'
event push based on the veterans response to the new questionScreenshot of question
Add this dataLayer variable
'edu-exhaustedAllBenefits': 'yes' //or 'no'
Screenshot of section
Execute this dataLayer push
dataLayer.push({
'event': 'edu-navigation',
'edu-action': 'check-remaining-benefits' //or 'stem-scholarship', 'see-approved-stem-programs'
});
@jonwehausen Thanks for including me in the review. Please see feedback by each requirement.
gibct-formChange
whereby it happens at time of selection? My concern is how this might be sent with the browser close. edu-navigation
event that exists in GTM now. You could use the look up table built within this tag to form the "Event Action". Hi @nedierecel,
Thanks so much for your recommendations! I have updated the above comment to be version 1.1 with the latest requirements.
Thanks!
@jonwehausen It looks like you have two #3's in comment v1.1 above.
3) When the veteran SUBMITs the form, add the following dataLayer variable to the existing 'edu-1995--submission-successful' event push based on the veterans response to the new question and 3) When the veteran clicks on any of the links within the STEM scholarship block
The screenshot that accompanies the first #3 doesn't look like it goes with the description (screenshot: exhaustion of benefits question; datalayer push: form submission success )
Hi @amyknox,
Oops! Thanks for your observations. I have corrected the numbering above.
Regarding now #3 above, apologize if the screenshot was confusing... To clarify, we want to add the dataLayer variable 'edu-exhaustedAllBenefits'
to the existing 'edu-1995--submission-successful'
event at time of form submission.
@nedierecel Keep us posted on the status of your final review given the most recent updates.
Thanks Jon Wehausen
@jonwehausen Confirming receipt--I have some recommendations on the continue and back buttons, so I'll thread in a discussion on Slack.
@nedierecel Have updated the requirements above based on our conversations from last week:
explore-other-benefits
and finish-later
@jonwehausen @amyknox This is approved.
Jon, once data is available on Staging, you and I can look at the various report options (segments, custom funnels, and behavior flow). Thanks.
@jonwehausen @nedierecel The "Finish this application later" link is platform specific. We don't have any control over it in 1995 so I don't think we can push any event to the datalayer
there.
I did notice however that the action is being tracked asevent: "edu-1995-sip-form-saved"
in the datalayer
.
@hughes-dustin Thanks for the note here -- Okay, that is fine. We can do without and utilize the existing event where needed.
branch: bah-6092 PR: https://github.com/department-of-veterans-affairs/vets-website/pull/11824
@jonwehausen, @amyknox, @nedierecel
Thanks @sonntag-adam - Has this also been pushed to staging? We updated a few settings in Google Tag Manager that we need to validate.
Hi @sonntag-adam ,
Thanks again for your work here! We really appreciate it.
Through our testing, we noticed a small update to correct -- We noticed a 'Yes' radio button selection of "Have you used all of your Post-9/11 GI Bill or Fry Scholarship benefits or do you have less than 6 months of benefits left?" is populating with 'No' at form submission for the edu-exhaustedAllBenefits
dataLayer variable.
Please see screenshot.
CC: @amyknox @nedierecel
@jonwehausen
Can we get a little more information? I've attempted to recreate the scenario but am getting the expected results.
For exhaustionOfBenefitsAfterPursuingTeachingCert
tracking:
Branch: bah-6092-2 PR: https://github.com/department-of-veterans-affairs/vets-website/pull/11868
Hi @hughes-dustin ,
Thanks, the edu-exhaustedAllBenefits
seems to be working fine, ran a couple more tests to confirm.
@jonwehausen here is an update with your prior selection of
edu-stemApplicant: "Yes" edu-undergradStem: "No" edu-pursueTeaching: "Yes"
And selection yes and no for the question "Have you used all of your Post-9/11 GI Bill or Fry Scholarship benefits or do you have less than 6 months of benefits left?(*Required)"
Is this what we want for functionality?
Hi @sonntag-adam ,
Thanks for confirming. Yes -- this is correct.
@hughes-dustin is confirming this functionality also for when the Pursuing Teaching question is NOT surfaced. Like in the screenshot below.
@jonwehausen here is the scenario above for both yes and no
@jonwehausen Confirming I am reviewing now so changes can be published.
@nedierecel @sonntag-adam @hughes-dustin @amyknox
Confirming this has in fact been published. Closing.
Analytics Implementation or QA Request
Description
Tracking needs: (https://app.zenhub.com/files/133843125/61b7c180-8f9b-4652-ba4a-53efd9dd5190/download)
Who is this request for?
What team/project is this work for?
Provide the Domain where Google Analytics needs to be implemented i.e. www.staging.va.gov
Please provide any upcoming deadlines or important milestones Week of March 9
Test Users to replicate the event do not put staging credentials in your
va.gov-team
ticket; store or reference them in a .md file in theva.gov-team-sensitive
repositoryAcceptance Criteria
Definition of Done