Skip to content

Commit

Permalink
PM-806: Add pumpkin wellness default cta_location
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilmore-phi committed Jan 10, 2025
1 parent 6b8c8e0 commit df62acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,10 @@ function instrumentTrackingEvents(main) {
ctaLocation = 'pick_your_plan';
} else if (e.target.closest('.curated-products-pumpkin-wellness')) {
ctaLocation = 'join_the_club_footer';
} else {
ctaLocation = 'join_the_club_banner';
}
trackCTAEvent(ctaLocation);

// track .button cta clicks for paid pages
} else if (body.className.includes('paid')) {
if (e.target.closest('.hero-paid-membership')) {
Expand Down

0 comments on commit df62acf

Please sign in to comment.