Skip to content

Commit

Permalink
Update upsell copy for file downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Initsogar committed Dec 11, 2024
1 parent 389160e commit 54bd206
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,18 @@ const getUpsellCopy = ( statType: string ) => {
},
}
);
// https://wordpress.com/support/stats/understand-your-sites-traffic/#file-downloads
case STAT_TYPE_FILE_DOWNLOADS:
return translate( 'Discover the most downloaded files by your visitors.' );
return translate( 'Discover the most {{link}}downloaded files{{/link}} by your visitors.', {
components: {
link: (
<a
href={ localizeUrl( `${ SUPPORT_URL }#file-downloads` ) }
target="_blank"
rel="noreferrer"
/>
),
},
} );
case STAT_TYPE_REFERRERS:
return translate(
'Find out where your {{link}}visitors come from{{/link}} to optimize your content strategy.',
Expand Down

0 comments on commit 54bd206

Please sign in to comment.