Skip to content

[WV-2443] Add dataLayer events to ManageMyCandidates import/invite and tracking pages#4708

Merged
DaleMcGrew merged 2 commits intowevote:developfrom
lyndabanh:WV-2443-add-datalayer-import-invite-voters
Mar 7, 2026
Merged

[WV-2443] Add dataLayer events to ManageMyCandidates import/invite and tracking pages#4708
DaleMcGrew merged 2 commits intowevote:developfrom
lyndabanh:WV-2443-add-datalayer-import-invite-voters

Conversation

@lyndabanh
Copy link
Contributor

@lyndabanh lyndabanh commented Feb 27, 2026

What github.com/wevote/WebApp/issues does this fix?

WV-2443
WV-2087

Changes included this pull request?

  • ManageMyCandidates.jsx: add dataLayer events for all import/invite buttons (copy link, preview, edit, Facebook, X, upload CSV, paste list, enter one-by-one) with desktop and mobile variants
  • ManageMyCandidatesLanding.jsx: add dataLayer events for nav pill buttons (import/invite, tracking, analytics, edit candidate profile) with desktop and mobile variants
  • SupporterTracking.jsx: add dataLayer events for tracking subtab buttons (joinedWeVote, invited, reminderNeeded)
  • lookupPageNameAndPageTypeDict.js: add /managecandidates, /managecandidates/tracking, and /managecandidates/analytics to pageNameAndTypeSimpleDict
  • WV-2087 VoterPositionEntryAndDisplay.jsx: fix pre-existing bug where actionDetails field was named 'action' instead of 'actionType'

…d tracking pages

* ManageMyCandidates.jsx: add dataLayer events for all import/invite
  buttons (copy link, preview, edit, Facebook, X, upload CSV, paste
  list, enter one-by-one) with desktop and mobile variants
* ManageMyCandidatesLanding.jsx: add dataLayer events for nav pill
  buttons (import/invite, tracking, analytics, edit candidate profile)
  with desktop and mobile variants
* SupporterTracking.jsx: add dataLayer events for tracking subtab
  buttons (joinedWeVote, invited, reminderNeeded)
* lookupPageNameAndPageTypeDict.js: add /managecandidates,
  /managecandidates/tracking, and /managecandidates/analytics to
  pageNameAndTypeSimpleDict
* [WV-2087] VoterPositionEntryAndDisplay.jsx: fix pre-existing bug
  where actionDetails field was named 'action' instead of 'actionType'
@lyndabanh lyndabanh changed the title [WV-2443] Add dataLayer events to ManageMyCandidates import/invite an… [WV-2443] Add dataLayer events to ManageMyCandidates import/invite and tracking pages Feb 28, 2026
* Add politicianWeVoteId parameter to pushDataLayer. Conditionally
include politicianDetails when selectedPoliticianWeVoteId is available
* Update tracking tab dataLayer events to use actionType 'navigate'
@DaleMcGrew
Copy link
Member

Thank you @lyndabanh! 👍

@DaleMcGrew DaleMcGrew merged commit 59a134a into wevote:develop Mar 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants