-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix pixel definition for free-trial-conversion wide event #7426
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
base: develop
Are you sure you want to change the base?
Fix pixel definition for free-trial-conversion wide event #7426
Conversation
|
Privacy Review task: https://app.asana.com/0/69071770703008/1212559196349116 |
| "ddg-privacy.pro.sandbox.monthly.renews.us", | ||
| "ddg.privacy.pro.sandbox.monthly.renews.row", | ||
| "ddg.privacy.pro.sandbox.yearly.renews.us", | ||
| "ddg.privacy.pro.sandbox.yearly.renews.row" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent plan ID prefix between monthly and yearly plans
The plan ID naming shows an inconsistency after this change. Only US monthly plans use the ddg-privacy prefix (with hyphen), while US yearly plans still use ddg.privacy (with dot). Specifically, ddg-privacy.pro.monthly.renews.us and ddg-privacy.pro.sandbox.monthly.renews.us use hyphen, but ddg.privacy.pro.yearly.renews.us and ddg.privacy.pro.sandbox.yearly.renews.us use dot. If the fix to use hyphen is correct for monthly plans, the yearly US plans may need the same update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nalcalag shouldn't all of these use hyphens instead of dots as separators? I assume values should match what we have in SubscriptionConstants.kt:
// List of plans
const val YEARLY_PLAN_US = "ddg-privacy-pro-yearly-renews-us"
const val MONTHLY_PLAN_US = "ddg-privacy-pro-monthly-renews-us"
const val YEARLY_PLAN_ROW = "ddg-privacy-pro-yearly-renews-row"
const val MONTHLY_PLAN_ROW = "ddg-privacy-pro-monthly-renews-row"
lmac012
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one comment regarding the use of dots instead of hyphens in plan ids.
| "ddg-privacy.pro.sandbox.monthly.renews.us", | ||
| "ddg.privacy.pro.sandbox.monthly.renews.row", | ||
| "ddg.privacy.pro.sandbox.yearly.renews.us", | ||
| "ddg.privacy.pro.sandbox.yearly.renews.row" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nalcalag shouldn't all of these use hyphens instead of dots as separators? I assume values should match what we have in SubscriptionConstants.kt:
// List of plans
const val YEARLY_PLAN_US = "ddg-privacy-pro-yearly-renews-us"
const val MONTHLY_PLAN_US = "ddg-privacy-pro-monthly-renews-us"
const val YEARLY_PLAN_ROW = "ddg-privacy-pro-yearly-renews-row"
const val MONTHLY_PLAN_ROW = "ddg-privacy-pro-monthly-renews-row"

Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1212540712304974?focus=true
Description
Fix pixel definition for free trial conversion wide event pixels
Steps to test this PR
N/A
No UI changes
Note
Updates the
wide_free-trial-conversionpixel to fix a plan ID, add sandbox plan enums, and rename activation step keys.PixelDefinitions/pixels/wide_free_trial_conversion.json5feature.data.ext.free_trial_planenum:ddg.privacy.pro.monthly.renews.us->ddg-privacy.pro.monthly.renews.us.feature.data.ext.free_trial_planenum.feature.data.ext.step.vpn_activated_d1.success->feature.data.ext.step.vpn_activated_d1, andfeature.data.ext.step.vpn_activated_d2_to_d7.success->feature.data.ext.step.vpn_activated_d2_to_d7.Written by Cursor Bugbot for commit b4bbf94. This will update automatically on new commits. Configure here.