Skip to content

Commit

Permalink
Update macOS config for Privacy Pro survey changes (#101)
Browse files Browse the repository at this point in the history
Task: https://app.asana.com/0/1199333091098016/1208279675094863/f

This PR updates the macOS Privacy Pro surveys to add a hardcoded build type parameter to the survey URLs. This is a temporary measure until the survey builder supports the build type parameter.

See the linked Asana task for an easier-to-read mapping of rules to messages.
  • Loading branch information
samsymons authored Sep 13, 2024
1 parent 466767c commit 9e830ff
Showing 1 changed file with 111 additions and 12 deletions.
123 changes: 111 additions & 12 deletions live/macos-config/macos-config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"version": 1,
"version": 2,
"messages": [
{
"id": "macos_privacy_pro_exit_survey_1",
"id": "macos_privacy_pro_app_store_exit_survey_1",
"content": {
"messageType": "big_single_action",
"titleText": "Tell Us Why You Left Privacy Pro",
Expand All @@ -11,17 +11,36 @@
"primaryActionText": "Take Survey",
"primaryAction": {
"type": "survey",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/privacypro_exitsurvey?list=3",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/privacypro_exitsurvey?list=3&build=appStore",
"additionalParameters": {
"queryParams": "var;delta;osv;ddgv;mo;ppro_status;ppro_platform;ppro_billing;ppro_days_since_purchase;ppro_days_until_exp"
}
}
},
"matchingRules": [1],
"exclusionRules": [4]
"exclusionRules": [5, 7]
},
{
"id": "macos_privacy_pro_subscriber_survey_1",
"id": "macos_privacy_pro_sparkle_exit_survey_1",
"content": {
"messageType": "big_single_action",
"titleText": "Tell Us Why You Left Privacy Pro",
"descriptionText": "By taking our brief survey, you'll help us improve Privacy Pro for all subscribers.",
"placeholder": "PrivacyShield",
"primaryActionText": "Take Survey",
"primaryAction": {
"type": "survey",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/privacypro_exitsurvey?list=3&build=sparkle",
"additionalParameters": {
"queryParams": "var;delta;osv;ddgv;mo;ppro_status;ppro_platform;ppro_billing;ppro_days_since_purchase;ppro_days_until_exp"
}
}
},
"matchingRules": [2],
"exclusionRules": [5, 7]
},
{
"id": "macos_privacy_pro_app_store_subscriber_survey_1",
"content": {
"messageType": "big_single_action",
"titleText": "Tell Us Your Thoughts on Privacy Pro",
Expand All @@ -30,14 +49,33 @@
"primaryActionText": "Take Survey",
"primaryAction": {
"type": "survey",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/240506?list=2",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/240506?list=2&build=appStore",
"additionalParameters": {
"queryParams": "var;delta;osv;ddgv;mo;ppro_status;ppro_platform;ppro_billing;ppro_days_since_purchase;ppro_days_until_exp"
}
}
},
"matchingRules": [2],
"exclusionRules": [3, 5]
"matchingRules": [3],
"exclusionRules": [5, 6, 8]
},
{
"id": "macos_privacy_pro_sparkle_subscriber_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",
"primaryActionText": "Take Survey",
"primaryAction": {
"type": "survey",
"value": "https://selfserve.decipherinc.com/survey/selfserve/32ab/240506?list=2&build=sparkle",
"additionalParameters": {
"queryParams": "var;delta;osv;ddgv;mo;ppro_status;ppro_platform;ppro_billing;ppro_days_since_purchase;ppro_days_until_exp"
}
}
},
"matchingRules": [4],
"exclusionRules": [5, 6, 8]
}
],
"rules": [
Expand All @@ -55,11 +93,34 @@
},
"appVersion": {
"min": "1.101.0"
},
"installedMacAppStore": {
"value": true
}
}
},
{
"id": 2,
"attributes": {
"pproSubscriber": {
"value": true
},
"pproPurchasePlatform": {
"value": ["apple", "stripe"]
},
"pproSubscriptionStatus": {
"value": ["expiring"]
},
"appVersion": {
"min": "1.101.0"
},
"installedMacAppStore": {
"value": false
}
}
},
{
"id": 3,
"attributes": {
"pproSubscriber": {
"value": true
Expand All @@ -75,27 +136,65 @@
},
"appVersion": {
"min": "1.101.0"
},
"installedMacAppStore": {
"value": true
}
}
},
{
"id": 3,
"id": 4,
"attributes": {
"pproSubscriber": {
"value": true
},
"pproDaysSinceSubscribed": {
"min": 14
},
"pproPurchasePlatform": {
"value": ["apple", "stripe"]
},
"pproSubscriptionStatus": {
"value": ["active"]
},
"appVersion": {
"min": "1.101.0"
},
"installedMacAppStore": {
"value": false
}
}
},
{
"id": 5,
"attributes": {
"interactedWithMessage": {
"value": ["macos_privacy_pro_exit_survey_1"]
"value": [
"macos_privacy_pro_exit_survey_1",
"macos_privacy_pro_sparkle_exit_survey_1",
"macos_privacy_pro_app_store_exit_survey_1"
]
}
}
},
{
"id": 4,
"id": 6,
"attributes": {
"interactedWithMessage": {
"value": ["macos_privacy_pro_subscriber_survey_1"]
}
}
},
{
"id": 7,
"attributes": {
"interactedWithDeprecatedMacRemoteMessage": {
"value": ["privacy_pro_exit_survey_1"]
}
}
},
{
"id": 5,
"id": 8,
"attributes": {
"interactedWithDeprecatedMacRemoteMessage": {
"value": ["privacy_pro_survey_1"]
Expand Down

0 comments on commit 9e830ff

Please sign in to comment.