Closed Bug 1631038 Opened 5 years ago Closed 5 years ago

Update recipe for 76 onboarding experiment in messaging-inflight-assets

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: k88hudson, Assigned: pdahiya)

References

Details

Based on our test data, can you create a PR against this file: https://github.com/mozilla/messaging-system-inflight-assets/blob/master/messaging-experiments.yaml to create the recipe?

We should test this on staging remote settings first.

[
  {
    "id": "aw_pull_factor_privacy_1",
    //update this -- use ASRouterTargeting environment https://github.com/mozilla/activity-stream/blob/master/content-src/asrouter/docs/targeting-attributes.md#available-attributes, and you can use activeExperiments to make the recipe sticky
    "filter_expression": "true",
    "arguments": {
      "slug": "aw_pull_factor_privacy_1",
      "branches": [
        {
          "slug": "control",
          "ratio": 1,
          "groups": ["aboutwelcome"],
          "value": {},
        },
        {
          "slug": "variant_1",
          "ratio": 1,
          "groups": ["aboutwelcome"],
          "value": {
            "title": "Welcome to Firefox. Fast, safe, private.",
            "cards": [
              {
                "id": "TRAILHEAD_CARD_12",
                "content": {
                  "title": {
                    "string_id": "onboarding-personal-data-promise-title"
                  },
                  "text": {
                    "string_id": "onboarding-personal-data-promise-text"
                  },
                  "icon": "pledge",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-personal-data-promise-button"
                    },
                    "action": {
                      "type": "OPEN_URL",
                      "data": {
                        "args": "https://www.mozilla.org/firefox/privacy/",
                        "where": "tabshifted"
                      }
                    }
                  }
                }
              },
              {
                "content": {
                  "title": {
                    "string_id": "onboarding-firefox-monitor-title"
                  },
                  "text": {
                    "string_id": "onboarding-firefox-monitor-text2"
                  },
                  "icon": "ffmonitor",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-firefox-monitor-button"
                    },
                    "action": {
                      "type": "OPEN_URL",
                      "data": {
                        "args": "https://monitor.firefox.com/",
                        "where": "tabshifted"
                      }
                    }
                  }
                },
                "id": "TRAILHEAD_CARD_3"
              },
              {
                "content": {
                  "title": {
                    "string_id": "onboarding-browse-privately-title"
                  },
                  "text": {
                    "string_id": "onboarding-browse-privately-text"
                  },
                  "icon": "private",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-browse-privately-button"
                    },
                    "action": {
                      "type": "OPEN_PRIVATE_BROWSER_WINDOW"
                    }
                  }
                },
                "id": "TRAILHEAD_CARD_4"
              }
            ]
          }
        },
        {
          "slug": "variant_2",
          "ratio": 1,
          "groups": ["aboutwelcome"],
          "value": {
            "title": "Welcome to Firefox",
            "cards": [
              {
                "id": "TRAILHEAD_CARD_12",
                "content": {
                  "title": {
                    "string_id": "onboarding-personal-data-promise-title"
                  },
                  "text": {
                    "string_id": "onboarding-personal-data-promise-text"
                  },
                  "icon": "pledge",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-personal-data-promise-button"
                    },
                    "action": {
                      "type": "OPEN_URL",
                      "data": {
                        "args": "https://www.mozilla.org/firefox/privacy/",
                        "where": "tabshifted"
                      }
                    }
                  }
                }
              },
              {
                "content": {
                  "title": {
                    "string_id": "onboarding-firefox-monitor-title"
                  },
                  "text": {
                    "string_id": "onboarding-firefox-monitor-text2"
                  },
                  "icon": "ffmonitor",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-firefox-monitor-button"
                    },
                    "action": {
                      "type": "OPEN_URL",
                      "data": {
                        "args": "https://monitor.firefox.com/",
                        "where": "tabshifted"
                      }
                    }
                  }
                },
                "id": "TRAILHEAD_CARD_3"
              },
              {
                "content": {
                  "title": {
                    "string_id": "onboarding-browse-privately-title"
                  },
                  "text": {
                    "string_id": "onboarding-browse-privately-text"
                  },
                  "icon": "private",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-browse-privately-button"
                    },
                    "action": {
                      "type": "OPEN_PRIVATE_BROWSER_WINDOW"
                    }
                  }
                },
                "id": "TRAILHEAD_CARD_4"
              }
            ]
          }
        },
        {
          "slug": "variant_3",
          "ratio": 1,
          "groups": ["aboutwelcome"],
          "value": {
            "title": "Welcome to Firefox. Fast, safe, private.",
            "cards": [
              {
                "content": {
                  "title": {
                    "string_id": "onboarding-data-sync-title"
                  },
                  "text": {
                    "string_id": "onboarding-data-sync-text2"
                  },
                  "icon": "devices",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-data-sync-button2"
                    },
                    "action": {
                      "type": "OPEN_URL",
                      "addFlowParams": true,
                      "data": {
                        "args": "https://accounts.firefox.com/?service=sync&action=email&context=fx_desktop_v3&entrypoint=activity-stream-firstrun&style=trailhead",
                        "where": "tabshifted"
                      }
                    }
                  }
                },
                "id": "TRAILHEAD_CARD_2"
              },
              {
                "content": {
                  "title": {
                    "string_id": "onboarding-firefox-monitor-title"
                  },
                  "text": {
                    "string_id": "onboarding-firefox-monitor-text2"
                  },
                  "icon": "ffmonitor",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-firefox-monitor-button"
                    },
                    "action": {
                      "type": "OPEN_URL",
                      "data": {
                        "args": "https://monitor.firefox.com/",
                        "where": "tabshifted"
                      }
                    }
                  }
                },
                "id": "TRAILHEAD_CARD_3"
              },
              {
                "content": {
                  "title": {
                    "string_id": "onboarding-browse-privately-title"
                  },
                  "text": {
                    "string_id": "onboarding-browse-privately-text"
                  },
                  "icon": "private",
                  "primary_button": {
                    "label": {
                      "string_id": "onboarding-browse-privately-button"
                    },
                    "action": {
                      "type": "OPEN_PRIVATE_BROWSER_WINDOW"
                    }
                  }
                },
                "id": "TRAILHEAD_CARD_4"
              }
            ]
          }
        }
      ]
    }
  }
]

Assignee: nobody → pdahiya
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.