Skip to content

Commit

Permalink
Privacy pro Onboarding promo June (#68)
Browse files Browse the repository at this point in the history
Asana: https://app.asana.com/0/0/1207546055898908/f

Test:
- Check requirements in https://app.asana.com/0/0/1207546055898908/f
- Use staging endpoint (you can enable it in internal RMF settings)
- Ensure copies are correct (validate config)
- Ensure URLs are correct (validate config)
- For testing, you will need to hardcode some values in the codebase
(e.g: ppro eligible to return true, days since installed 3)
- Ensure a user will see at least 1 message but only 1 (if you interact
with one, you won't see another)

---------

Co-authored-by: nalcalag <[email protected]>
  • Loading branch information
cmonfortep and nalcalag authored Jun 20, 2024
1 parent a298926 commit dfbe2dc
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 25 deletions.
217 changes: 214 additions & 3 deletions live/android-config/android-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,216 @@
{
"version": 22,
"messages": [],
"rules": []
"version": 23,
"messages": [
{
"id": "funnel_pro_androidrmf_onboarding_levelup",
"content": {
"messageType": "big_single_action",
"titleText": "Level up your privacy!",
"descriptionText": "Boost your privacy with our fast and secure VPN plus 2 more new protections.",
"placeholder": "DDGAnnounce",
"primaryActionText": "Get Privacy Pro",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_onboarding_levelup"
}
},
"matchingRules": [
1
],
"exclusionRules": [
5
]
},
{
"id": "funnel_pro_androidrmf_onboarding_likelove",
"content": {
"messageType": "big_single_action",
"titleText": "Like DuckDuckGo? You’ll love Privacy Pro!",
"descriptionText": "Get 3-in-1 protection with Privacy Pro. Includes a fast & secure VPN + 2 more new protections, all for $9.99/mo.",
"placeholder": "DDGAnnounce",
"primaryActionText": "Learn More",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_onboarding_likelove"
}
},
"matchingRules": [
2
],
"exclusionRules": [
5
]
},
{
"id": "funnel_pro_androidrmf_onboarding_moreprivacy",
"content": {
"messageType": "big_single_action",
"titleText": "Get more privacy with Privacy Pro!",
"descriptionText": "Fast & secure VPN.<br/>Restore your identity if it’s ever stolen.<br/>Remove personal info from sites that sell it.<br/>All for $9.99/month.",
"placeholder": "DDGAnnounce",
"primaryActionText": "Learn More",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_onboarding_moreprivacy"
}
},
"matchingRules": [
3
],
"exclusionRules": [
5
]
},
{
"id": "funnel_pro_androidrmf_onboarding_boost",
"content": {
"messageType": "big_single_action",
"titleText": "NEW! Boost your privacy with Privacy Pro",
"descriptionText": "Get 3 new ways to expand your privacy with our VPN, Personal Information Removal, and Identity Theft Restoration, all for $9.99/mo.",
"placeholder": "DDGAnnounce",
"primaryActionText": "Learn More",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_onboarding_boost"
}
},
"matchingRules": [
4
],
"exclusionRules": [
5
]
}
],
"rules": [
{
"id": 1,
"targetPercentile": {
"before": 0.25
},
"attributes": {
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"atpOnboarded": {
"value": false
},
"locale": {
"value": [
"en-US"
]
},
"appVersion": {
"min": "5.200.1"
},
"daysSinceInstalled": {
"value": 3
}
}
},
{
"id": 2,
"targetPercentile": {
"before": 0.33
},
"attributes": {
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"atpOnboarded": {
"value": false
},
"locale": {
"value": [
"en-US"
]
},
"appVersion": {
"min": "5.200.1"
},
"daysSinceInstalled": {
"value": 3
}
}
},
{
"id": 3,
"targetPercentile": {
"before": 0.5
},
"attributes": {
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"atpOnboarded": {
"value": false
},
"locale": {
"value": [
"en-US"
]
},
"appVersion": {
"min": "5.200.1"
},
"daysSinceInstalled": {
"value": 3
}
}
},
{
"id": 4,
"targetPercentile": {
"before": 1
},
"attributes": {
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"atpOnboarded": {
"value": false
},
"locale": {
"value": [
"en-US"
]
},
"appVersion": {
"min": "5.200.1"
},
"daysSinceInstalled": {
"value": 3
}
}
},
{
"id": 5,
"attributes": {
"interactedWithMessage": {
"value": [
"funnel_pro_androidrmf_onboarding_levelup",
"funnel_pro_androidrmf_onboarding_likelove",
"funnel_pro_androidrmf_onboarding_moreprivacy",
"funnel_pro_androidrmf_onboarding_boost",
"funnel_pro_android_apptp_likelove",
"funnel_pro_android_apptp_vpnworks",
"funnel_pro_android_apptp_threeinone",
"funnel_pro_android_apptp_beyondapptp"
]
}
}
}
]
}
33 changes: 11 additions & 22 deletions live/ios-config/ios-config.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{
"version": 31,
"version": 30,
"messages": [
{
"id": "ios_privacy_pro_subscriber_survey_1",
"id": "ddg_ios_survey_1",
"content": {
"messageType": "big_single_action",
"titleText": "Tell Us Your Thoughts on Privacy Pro",
"descriptionText": "If you complete our brief survey, your input will help improve the Privacy Pro experience for all subscribers.",
"placeholder": "PrivacyShield",
"titleText": "Help us improve the app!",
"descriptionText": "Take our short anonymous survey and share your feedback.",
"placeholder": "RemoteMessageAnnouncement",
"primaryActionText": "Take Survey",
"primaryAction": {
"type": "survey",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/ios_privacypro_subscribersurvey?list=3",
"additionalParameters": {
"queryParams": "atb;var;delta;osv;ddgv;mo;ppro_status;ppro_platform;ppro_billing;ppro_days_since_purchase;ppro_days_until_exp;vpn_first_used"
}
"type": "survey_url",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/240200?list=2"
}
},
"matchingRules": [
Expand All @@ -26,20 +23,12 @@
{
"id": 1,
"attributes": {
"pproSubscriber": {
"value": true
},
"pproDaysSinceSubscribed": {
"min": 14
},
"pproPurchasePlatform": {
"value": ["apple"]
},
"pproSubscriptionStatus": {
"value": "active"
"daysSinceInstalled": {
"min": 5,
"max": 8
},
"appVersion": {
"min": "7.124.0.1"
"min": "7.106.0.4"
}
}
}
Expand Down

0 comments on commit dfbe2dc

Please sign in to comment.