Skip to content

Conversation

@nalcalag
Copy link
Contributor

@nalcalag nalcalag commented Dec 22, 2025

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-conversion pixel to fix a plan ID, add sandbox plan enums, and rename activation step keys.

  • Pixels
    • PixelDefinitions/pixels/wide_free_trial_conversion.json5
      • Fix plan ID in feature.data.ext.free_trial_plan enum: ddg.privacy.pro.monthly.renews.us -> ddg-privacy.pro.monthly.renews.us.
      • Add sandbox plan IDs to feature.data.ext.free_trial_plan enum.
      • Rename activation step keys: feature.data.ext.step.vpn_activated_d1.success -> feature.data.ext.step.vpn_activated_d1, and feature.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.

Copy link
Contributor Author

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

@github-actions
Copy link
Contributor

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"
Copy link

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.

Fix in Cursor Fix in Web

Copy link
Contributor

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"

Copy link
Contributor

@lmac012 lmac012 left a 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"
Copy link
Contributor

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"

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