Skip to content
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

Referrals: Add analytics #2231

Merged
merged 3 commits into from
Oct 2, 2024
Merged

Referrals: Add analytics #2231

merged 3 commits into from
Oct 2, 2024

Conversation

SergioEstevao
Copy link
Contributor

@SergioEstevao SergioEstevao commented Oct 1, 2024

| 📘 Part of: #2083 |
|:---:|

Fixes #

To test

  1. Configure the podcast scheme to use the StoreKit Configuration file: Pocket Casts Configuration.storekit
  2. Delete the app from the simulator if you already have it installed
  3. Start the app
  4. Ensure that you have the referrals FF enabled
  5. Ensure that you have tracks logging enabled in the FF

Share Guest Pass

  1. Login with an account that has an Plus or Patron active
  2. Go to Profile
  3. You should see the referral tip/hint on top. Check event: referral_tooltip_show
  4. Tap on the gift icon on the top left. Check event: referral_tooltip_tapped and referral_share_screen_show
  5. Tap on the Send Pass. Check event: referral_share_screen_show
  6. Send the URL to the reminders app
  7. Save it in Reminders

Claim Guest Pass

  1. Now login with an account that doesn't have a subscription
  2. Switch to the Reminders app
  3. Tap on the referral URL
  4. The PocketCasts app should open an show the claim guest pass screen. Check event: referral_claim_screen_show
  5. Tap on Not Now. Check event: referral_not_now_tapped
  6. Switch to Profile Tab if needed. You should see the claim banner on profile. Check event: referral_pass_banner_show
  7. Tap on the banner
  8. Tap on Activate Pass. Check event: referral_activate_tapped
  9. You should see a loading item on the button
  10. Then you should see the IAP screen. Check event: referral_purchase_show
  11. Purchase the subscription ( This is using Xcode IAP simulator so no need to insert card). Check event: referral_purchase_success
  12. The flow should finish and return you to main screen

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.

@SergioEstevao SergioEstevao marked this pull request as ready for review October 1, 2024 15:06
@SergioEstevao SergioEstevao requested a review from a team as a code owner October 1, 2024 15:06
@SergioEstevao SergioEstevao requested review from bjtitus and removed request for a team October 1, 2024 15:06
Base automatically changed from referrals/integrate_onboarding_flow_on_claim to trunk October 1, 2024 18:03
Copy link
Contributor

@bjtitus bjtitus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: Verified all events ✔️

✅ referral_tooltip_show
✅ referral_share_screen_show
✅ referral_tooltip_tapped

✅ referral_claim_screen_show
✅ referral_not_now_tapped
✅ referral_pass_banner_show
✅ referral_activate_tapped
✅ referral_purchase_show
✅ referral_purchase_success

@SergioEstevao SergioEstevao merged commit 082d972 into trunk Oct 2, 2024
4 of 6 checks passed
@SergioEstevao SergioEstevao deleted the referrals/add_analytics branch October 2, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants