-
Notifications
You must be signed in to change notification settings - Fork 286
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
Top traffic source driving purchases #9393
Top traffic source driving purchases #9393
Conversation
Build files for 34d209d have been deleted. |
Size Change: +1.6 kB (+0.09%) Total Size: 1.85 MB
ℹ️ View Unchanged
|
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.
@zutigrm small spelling change request, but code LGTM!
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingPurchasesWidget.js
Outdated
Show resolved
Hide resolved
Co-authored-by: Simon Dowdles <[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.
Thanks @zutigrm this LGTM
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.
Thanks, @zutigrm. Added two comments that are similar to ones I have added to the add_to_card widget. Please, take a look.
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingPurchasesWidget.js
Show resolved
Hide resolved
// eslint-disable-next-line @wordpress/valid-sprintf | ||
sprintf( | ||
/* translators: %d: Percentage of leads for the current top traffic source compared to the number of total leads for all traffic sources. */ | ||
__( '%s of total purchases', 'google-site-kit' ), |
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.
Please, fix the comment for the translation string to have correct placeholders.
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.
Ok, looks good to me. There is one suggestion that i am going to apply by myself.
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingPurchasesWidget.js
Outdated
Show resolved
Hide resolved
…rceDrivingPurchasesWidget.js
…raffic-source-purchases.
Summary
Addresses issue:
Top traffic source driving purchases
ACR KMW #9164Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist