Stats: Update copy on commercial purchase page
Related to p1HpG7-snd-p2.
Proposed Changes
Updates the copy in the purchase flows depending on the site classification.
Commercial sites see this
- Updated header & description text
- Updated styling for "commercial use" feature
- New "Pick your tier" header
- Updated copy in tier slider
- Footnote indicator
- Full-width buttons
- Footnote text
Non-commercial sites see this
Same as above with different header, info, and button text.
PWYW flow
- Updated header & description text
- Updated copy for UTM feature
- 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)?
Jetpack Cloud live (direct link)
|
|
https://calypso.live?image=registry.a8c.com/calypso/app:build-108838&env=jetpack |
Automattic for Agencies live (direct link)
|
|
https://calypso.live?image=registry.a8c.com/calypso/app:build-108838&env=a8c-for-agencies |
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.
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.
Added "Learn more" text with link to this public blog post:
https://jetpack.com/blog/updates-to-jetpack-stats-for-commercial-sites/
Thanks for the feedback @grzegorz-cp. I've addressed those now. Going to review the feedback in Slack from design before requesting another review.