wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Stats: Update copy on commercial purchase page

Open a8ck3n opened this issue 1 year ago • 5 comments

Related to p1HpG7-snd-p2.

Proposed Changes

Updates the copy in the purchase flows depending on the site classification.

Commercial sites see this

SCR-20240523-qibx
  1. Updated header & description text
  2. Updated styling for "commercial use" feature
  3. New "Pick your tier" header
  4. Updated copy in tier slider
  5. Footnote indicator
  6. Full-width buttons
  7. Footnote text

Non-commercial sites see this

SCR-20240523-qjuq

Same as above with different header, info, and button text.

PWYW flow

SCR-20240523-qgrm
  1. Updated header & description text
  2. Updated copy for UTM feature
  3. Full-width buttons

Why are these changes being made?

Part of the project to improve the paywall experience.

p1HpG7-shw-p2

Testing Instructions

  • Visit the Stats page on a new site and confirm the copy matches the second screenshot. New sites that aren't yet classified should see that.
  • Visit the Stats page on a new site that has been classified as commercial (you can force this via the Blog RC tool) and confirm the copy matches the first screenshot.
  • Confirm "Learn more" link is present and working when site is classified as commercial. Not pictured in screenshot.

Pre-merge Checklist

  • [ ] Has the general commit checklist been followed? (PCYsg-hS-p2)
  • [ ] Have you written new tests for your changes?
  • [ ] Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • [ ] Have you checked for TypeScript, React or other console errors?
  • [ ] Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • [ ] Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • [ ] For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

a8ck3n avatar May 22 '24 09:05 a8ck3n

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • odyssey-stats

To test WordPress.com changes, run install-plugin.sh $pluginSlug update/stats-paywall-new-copy on your sandbox.

matticbot avatar May 22 '24 09:05 matticbot

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

Sections (~416 bytes added 📈 [gzipped])

name   parsed_size           gzip_size
stats      +1225 B  (+0.1%)     +416 B  (+0.1%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

matticbot avatar May 22 '24 09:05 matticbot

Added "Learn more" text with link to this public blog post:

https://jetpack.com/blog/updates-to-jetpack-stats-for-commercial-sites/

a8ck3n avatar May 22 '24 10:05 a8ck3n

Thanks for the feedback @grzegorz-cp. I've addressed those now. Going to review the feedback in Slack from design before requesting another review.

a8ck3n avatar May 23 '24 07:05 a8ck3n