Open jilladams opened 2 years ago
5 points was due to testing analytics (From SPIKE): https://github.com/department-of-veterans-affairs/va.gov-cms/issues/8953#issuecomment-1157055783
Should this be labeled Icebox? I've forgotten why we moved it back to Unrefined.
Describe the defect
A bug was found in the FE code that reports analytics events to Google Analytics. It was initially found to impact three Campaign Landing Pages. Affected CLPs:
https://www.va.gov/initiatives/have-questions-before-you-get-your-covid-19-vaccine/This CLP no longer exists.Reported impact of bug:
At least one page (Veteran Trust in VA) was fixed by removing the apostrophe from the CTA link. It used to say "Download the VA's Trust Report":
Assessment
It appears that the culprit here is the unescaped apostrophe in the
recordEvent
event labels.https://github.com/department-of-veterans-affairs/va.gov-cms/issues/8953 determined that we can escape using the
escape
filter.To Reproduce
Steps to reproduce the behavior:
Expected behavior
No console errors Click events for CTA's with apostrophes are recorded
Testing analytics is an open question.
Screenshots
Additional context
Labels
(You can delete this section once it's complete)
CMS Team
Please check the team(s) that will do this work.
Program
Platform CMS Team
Sitewide Crew
⭐️ Sitewide CMS
⭐️ Public Websites
⭐️ Facilities
⭐️ User support