-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing CTA tracking attributes #5574
Conversation
Notifying subscribers in CODENOTIFY files for diff 59f743d...98ec7c9.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job on this Becca! ✨ Also love the cleanup and efficiency changes you made with our footer links! 😄
Just a few things to fix up below:
Co-authored-by: Brett Hayes <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for tackling all the links!
An idea just came to mind for a future improvement to be more efficient with tracking. Instead of adding data attributes to every link element, which can be quite the manually-intensive task, I think we can create a hook instead with some conditions. 💡 I created #5594 as a follow up. Let's merge this for now and I'll tackle that soon.
@@ -7,6 +7,7 @@ export const buttonStyle = { | |||
textWithBoxedArrow: 4, | |||
outlineWithArrow: 5, | |||
text: 6, | |||
image: 7, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool 😎 literally tracking all the things lol. This will also make more sense when we eventually rename buttonStyle
to ctaStyle
etc. in the near future.
That sounds more efficient & clean for the templates 🙌🏻 thanks! |
Closes #5487, adds missing CTA's
Changelog
<Tab />
active style override to global stylesheets to keep them uniformed. In accordance with Figma's specs.Notes
Test