design-system
design-system copied to clipboard
[WNMGDS-2725] Add optional analytics tracking to `ThirdPartyExternalLink`
Summary
- Adds a new
thirdPartyExternalLinkSendsAnalytics
config property that controls whether theThirdPartyExternalLink
sends analytics events by default - Adds full analytics tracking capabilities to
ThirdPartyExternalLink
How to test
- Check out FOR TESTING IN STORYBOOK (adb711)
- Turn on analytics in Storybook and try it out
- Take a look at the new unit tests
Checklist
- [x] Prefixed the PR title with the Jira ticket number as
[WNMGDS-####] Title
or [NO-TICKET] if this is unticketed work. - [x] Selected appropriate
Type
(only one) label for this PR, if it is a breaking change, label should only beType: Breaking
- [x] Selected appropriate
Impacts
, multiple can be selected. - [x] Selected appropriate release milestone