From e02d1aaa0e4342211b13c8893c28d53a87fb8a9a Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Tue, 10 Sep 2024 20:04:37 -0700 Subject: [PATCH] Update macOS config for Privacy Pro survey changes. --- live/macos-config/macos-config.json | 123 +++++++++++++++++++++++++--- 1 file changed, 111 insertions(+), 12 deletions(-) diff --git a/live/macos-config/macos-config.json b/live/macos-config/macos-config.json index ba9eed9..79e4048 100644 --- a/live/macos-config/macos-config.json +++ b/live/macos-config/macos-config.json @@ -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", @@ -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=app_store", "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", @@ -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=app_store", "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": [ @@ -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 @@ -75,19 +136,57 @@ }, "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"] @@ -95,7 +194,7 @@ } }, { - "id": 5, + "id": 8, "attributes": { "interactedWithDeprecatedMacRemoteMessage": { "value": ["privacy_pro_survey_1"]