From d836155008633e1b31a3306500a132e9b419cd01 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Thu, 1 Aug 2024 22:46:31 -0700 Subject: [PATCH 1/4] Add Privacy Pro surveys for macOS. --- live/macos-config/macos-config.json | 109 +++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 4 deletions(-) diff --git a/live/macos-config/macos-config.json b/live/macos-config/macos-config.json index b489163..e121304 100644 --- a/live/macos-config/macos-config.json +++ b/live/macos-config/macos-config.json @@ -1,5 +1,106 @@ { - "version": 0, - "messages": [], - "rules": [] -} \ No newline at end of file + "version": 1, + "messages": [ + { + "id": "macos_privacy_pro_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", + "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] + }, + { + "id": "macos_privacy_pro_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", + "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] + } + ], + "rules": [ + { + "id": 1, + "attributes": { + "pproSubscriber": { + "value": true + }, + "pproPurchasePlatform": { + "value": ["apple", "stripe"] + }, + "pproSubscriptionStatus": { + "value": "expiring" + }, + "appVersion": { + "min": "1.99.0" + } + } + }, + { + "id": 2, + "attributes": { + "pproSubscriber": { + "value": true + }, + "pproDaysSinceSubscribed": { + "min": 14 + }, + "pproPurchasePlatform": { + "value": ["apple", "stripe"] + }, + "pproSubscriptionStatus": { + "value": "active" + }, + "appVersion": { + "min": "1.99.0" + } + } + }, + { + "id": 3, + "attributes": { + "interactedWithMessage": { + "value": ["ios_privacy_pro_exit_survey_1"] + } + } + }, + { + "id": 4, + "attributes": { + "interactedWithDeprecatedMacRemoteMessage": { + "value": ["privacy_pro_exit_survey_1"] + } + } + }, + { + "id": 5, + "attributes": { + "interactedWithDeprecatedMacRemoteMessage": { + "value": ["privacy_pro_survey_1"] + } + } + } + ] +} From 45f87162357abc3309cd4750cf57de98b9796ff9 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Thu, 1 Aug 2024 23:14:48 -0700 Subject: [PATCH 2/4] Remove the subscriber attribute. --- live/macos-config/macos-config.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/live/macos-config/macos-config.json b/live/macos-config/macos-config.json index e121304..95d0e59 100644 --- a/live/macos-config/macos-config.json +++ b/live/macos-config/macos-config.json @@ -44,9 +44,6 @@ { "id": 1, "attributes": { - "pproSubscriber": { - "value": true - }, "pproPurchasePlatform": { "value": ["apple", "stripe"] }, @@ -61,9 +58,6 @@ { "id": 2, "attributes": { - "pproSubscriber": { - "value": true - }, "pproDaysSinceSubscribed": { "min": 14 }, From 64ebbd66f72ec3e37761c0de5f82b0f41c9d6a26 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Thu, 1 Aug 2024 23:18:58 -0700 Subject: [PATCH 3/4] Update Privacy Pro status attribute. --- live/macos-config/macos-config.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/live/macos-config/macos-config.json b/live/macos-config/macos-config.json index 95d0e59..519cd9b 100644 --- a/live/macos-config/macos-config.json +++ b/live/macos-config/macos-config.json @@ -44,11 +44,14 @@ { "id": 1, "attributes": { + "pproSubscriber": { + "value": true + }, "pproPurchasePlatform": { "value": ["apple", "stripe"] }, "pproSubscriptionStatus": { - "value": "expiring" + "value": ["expiring"] }, "appVersion": { "min": "1.99.0" @@ -58,6 +61,9 @@ { "id": 2, "attributes": { + "pproSubscriber": { + "value": true + }, "pproDaysSinceSubscribed": { "min": 14 }, @@ -65,7 +71,7 @@ "value": ["apple", "stripe"] }, "pproSubscriptionStatus": { - "value": "active" + "value": ["active"] }, "appVersion": { "min": "1.99.0" From 9c74c45e19c32522d46f25d9cb8673eee4c56852 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Sun, 18 Aug 2024 14:25:28 -0700 Subject: [PATCH 4/4] Update macOS survey rules. --- live/macos-config/macos-config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/live/macos-config/macos-config.json b/live/macos-config/macos-config.json index 519cd9b..ba9eed9 100644 --- a/live/macos-config/macos-config.json +++ b/live/macos-config/macos-config.json @@ -54,7 +54,7 @@ "value": ["expiring"] }, "appVersion": { - "min": "1.99.0" + "min": "1.101.0" } } }, @@ -74,7 +74,7 @@ "value": ["active"] }, "appVersion": { - "min": "1.99.0" + "min": "1.101.0" } } }, @@ -82,7 +82,7 @@ "id": 3, "attributes": { "interactedWithMessage": { - "value": ["ios_privacy_pro_exit_survey_1"] + "value": ["macos_privacy_pro_exit_survey_1"] } } },