Skip to content

Commit

Permalink
New message for privacy pro promotion with origin (#124)
Browse files Browse the repository at this point in the history
Confirm message conforms to specifications:
https://app.asana.com/0/1204739911139421/1208278640816845/f

To test:
- Update the privacy config URL in the app to this
https://jsonblob.com/api/1316093317871755264 (which has the same changes
as the privacy config
[PR](duckduckgo/privacy-configuration#2569))
- Ensure your device locale is `en_US`, that you are not subscribed to
privacy pro but that you are eligible
- In `RemoteMessagingClient.swift` update the debug URL to use the
staging URL from the github action below
- Launch the app and confirm the message is presented. Check the remote
message pixels that are being fired and confirm a randomised subset of
params are being included e.g.

![image](https://github.com/user-attachments/assets/84451c01-517e-424b-a631-e717d54a5a90)

---------

Co-authored-by: Sam Symons <[email protected]>
  • Loading branch information
amddg44 and samsymons authored Dec 11, 2024
1 parent 3e0c208 commit aabfc34
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion live/ios-config/ios-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 48,
"version": 49,
"messages": [
{
"id": "ios_privacy_pro_exit_survey_1",
Expand Down Expand Up @@ -44,6 +44,23 @@
3
]
},
{
"id": "funnel_pro_iosrmf_announcement",
"content": {
"messageType": "big_single_action",
"titleText": "Enjoy peace of mind with our VPN!",
"descriptionText": "Boost protection with a fast, secure VPN + 2 more premium services.",
"placeholder": "PrivacyShield",
"primaryActionText": "Get Privacy Pro",
"primaryAction": {
"type": "url",
"value": "https://duckduckgo.com/pro?origin=funnel_pro_iosrmf_announcement"
}
},
"matchingRules": [
5
]
},
{
"id": "ddg_ios_survey_1",
"content": {
Expand Down Expand Up @@ -127,6 +144,23 @@
"min": "7.124.0.1"
}
}
},
{
"id": 5,
"attributes": {
"pproSubscriber": {
"value": false
},
"pproEligible": {
"value": true
},
"locale": {
"value": ["en-US"]
},
"appVersion": {
"min": "7.131.0.1"
}
}
}
]
}

0 comments on commit aabfc34

Please sign in to comment.