Skip to content

[BLOCKED BY DST TICKET] [Analytics] [Campaign Landing Pages] Custom GA events removal & web components upgrades #18507

Open
@randimays

Description

@randimays

Status

[2025-01-14] [Fran] Still blocked by DST ticket.
Blocked by this DST defect: department-of-veterans-affairs/vets-design-system-documentation#2817

We cannot convert this to a va-link until that accessibility defect is addressed.

Description

The va-link web component's analytics now include link destination, and va-link-action has been released to the component library. We can now use baked-in analytics for Campaign Landing Pages download links.

User story

AS A PO/PM managing Sitewide products & features
I WANT to (where appropriate) adopt the va-link or va-link-action component, its baked-in analytics, and remove the custom GA events
SO THAT extraneous code is removed and only the events needed will be triggered.

Engineering notes

Content-build template: https://github.com/department-of-veterans-affairs/content-build/blob/7c123600579e02589bbfc0b17408492e6adc363c/src/site/layouts/campaign_landing_page.drupal.liquid#L299

Acceptance criteria

  • Element: "Download ___ PDF" links
    • upgrade to web component
    • enable web component analytics
  • a11y review

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockedIssues that are blocked on factors other than blocking issues.Campaign Landing PageMarketing campaign oriented, CMS-managed product owned by Public Websites teamPublic WebsitesScrum team in the Sitewide crewVA.gov frontendCMS team practice areapoints-1sitewide

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions