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

Enable Android ppro messaging part 1 #118

Merged
merged 6 commits into from
Dec 3, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
209 changes: 208 additions & 1 deletion live/android-config/android-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 38,
"version": 39,
"messages": [
{
"id": "android_privacy_pro_exit_survey_1",
Expand Down Expand Up @@ -44,6 +44,86 @@
8
]
},
{
"id": "funnel_pro_androidrmf_announcement_privacy",
"content": {
"messageType": "big_single_action",
"titleText": "Level up your privacy!",
"descriptionText": "Boost privacy with our fast & secure VPN + 2 more premium services.",
"placeholder": "DDGAnnounce",
"primaryActionText": "Get Privacy Pro",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_announcement_privacy"
}
},
"matchingRules": [
12
],
"exclusionRules": [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Excluding message if already interacted with previous or current ones.

4,16
]
},
{
"id": "funnel_pro_androidrmf_announcement_vpn",
"content": {
"messageType": "big_single_action",
"titleText": "Enjoy peace of mind with a trusted VPN!",
"descriptionText": "Fast, secure, & powered by privacy experts, our VPN is 1 of 3 new premium services.",
"placeholder": "DDGAnnounce",
"primaryActionText": "Get Privacy Pro",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_announcement_vpn"
}
},
"matchingRules": [
13
],
"exclusionRules": [
4,16
]
},
{
"id": "funnel_pro_androidrmf_announcement_wifi",
"content": {
"messageType": "big_single_action",
"titleText": "Worried about dangerous Wi-Fi this season?",
"descriptionText": "Try our VPN to help keep personal data out of the hands of cyber grinches!",
"placeholder": "DDGAnnounce",
"primaryActionText": "Get Privacy Pro",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_announcement_wifi"
}
},
"matchingRules": [
14
],
"exclusionRules": [
4,16
]
},
{
"id": "funnel_pro_androidrmf_announcement_holiday",
"content": {
"messageType": "big_single_action",
"titleText": "Keep personal data out of the hands of cyber grinches this holiday!",
"descriptionText": "Protection from cyber threats and dangerous Wi-Fi is easy with our fast VPN.",
"placeholder": "DDGAnnounce",
"primaryActionText": "Get Privacy Pro",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_androidrmf_announcement_holiday"
}
},
"matchingRules": [
15
],
"exclusionRules": [
4,16
]
},
{
"id": "android_permanent_survey_user_satisfaction",
"content": {
Expand Down Expand Up @@ -177,6 +257,133 @@
]
}
}
},
{
"id": 11,
"attributes": {
"daysSinceInstalled": {
"min": 1
},
"omnibarPositionFeatureEnabled": {
"value": true
},
"omnibarPosition": {
"value": "top"
}
}
},
{
"id": 12,
"targetPercentile": {
"before": 0.0625
Copy link
Collaborator

Choose a reason for hiding this comment

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

4 messages should have now 6.25%

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updating the first one to be 5% as we are updating the taarget to 10% (https://app.asana.com/0/0/1208299529724942/1208890135916138/f)

},
"attributes": {
"appVersion": {
"min": "5.210.0"
},
"daysSinceInstalled": {
"min": 7
},
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"locale": {
"value": [
"en-US"
]
}
}
},
{
"id": 13,
"targetPercentile": {
"before": 0.0666
Copy link
Collaborator

Choose a reason for hiding this comment

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

Because of how we process messages (in order and first match wins), to keep the same probability in all 4 variants, we should calculate percentile based on the message position. For example: percentile of message B to be 6.25% should consider probability of message A not showing.

},
"attributes": {
"appVersion": {
"min": "5.210.0"
},
"daysSinceInstalled": {
"min": 7
},
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"locale": {
"value": [
"en-US"
]
}
}
},
{
"id": 14,
"targetPercentile": {
"before": 0.0714
},
"attributes": {
"appVersion": {
"min": "5.210.0"
},
"daysSinceInstalled": {
"min": 7
},
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"locale": {
"value": [
"en-US"
]
}
}
},
{
"id": 15,
"targetPercentile": {
"before": 0.0769
},
"attributes": {
"appVersion": {
"min": "5.210.0"
},
"daysSinceInstalled": {
"min": 7
},
"pproEligible": {
"value": true
},
"pproSubscriber": {
"value": false
},
"locale": {
"value": [
"en-US"
]
}
}
},
{
"id": 16,
"attributes": {
"interactedWithMessage": {
"value": [
"funnel_pro_androidrmf_announcement_privacy",
"funnel_pro_androidrmf_announcement_vpn",
"funnel_pro_androidrmf_announcement_wifi",
"funnel_pro_androidrmf_announcement_holiday"
]
}
}
}
]
}
Loading