Skip to content

Handle experiment metadata from subscriptionSelected message #5930

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

nalcalag
Copy link
Contributor

@nalcalag nalcalag commented Apr 17, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/task/1209917212981563?focus=true

Description

Handle experiment metadata and pass to /confirm endpoint for a future Front End experiment. For the moment, this change shouldn't make any difference in the paywall

Steps to test this PR

Pre steps

  • Make sure you are Privacy Pro eligible

Regression check: Paywall unaffected

  • Install from branch
  • Go to Settings > Privacy Pro
  • Make sure paywall opens and works as expected

Experiment integration (tratment A)

  • Use a VPN connected to US
  • Apply patch attached in https://app.asana.com/1/137249556945/task/1210050331055612?focus=true
  • Fresh install
  • Go to Settings > Privacy Pro
  • Check you see a new paywall design for free trials
  • Subscribe to a monthly or yearly product
  • Check logs to confirm that experimentName and experimentCohort are sent to in purchase/confirm request. (Filter by /confirm body in logs)

No UI changes

@nalcalag
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nalcalag nalcalag changed the title Parse new experiment metadata from subscriptionSelected message Handle experiment metadata from subscriptionSelected message Apr 17, 2025
@nalcalag nalcalag marked this pull request as ready for review April 23, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants