Added below the experiment recipe. It can also be modifier by changing the style if max-display-count needs to be increased/decreased ([current default is 5](https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/messaging-fenix.fml.yaml#102-104)) ``` { "messages": { "feature-print-microsurvey": { "title": "microsurvey_prompt_printing_title", "text": "microsurvey_survey_printing_title", "surface": "microsurvey", "style": "MICRO_SURVEY", "trigger-if-all": [ "RECENTLY_PRINTED" ], "microsurvey-config": { "utm-content": "homepage", "icon": "ic_print", "answers": [ { "text": "likert_scale_option_1", "ordering": 0 }, { "text": "likert_scale_option_2", "ordering": 1 }, { "text": "likert_scale_option_3", "ordering": 2 }, { "text": "likert_scale_option_4", "ordering": 3 }, { "text": "likert_scale_option_5", "ordering": 4 }, { "text": "likert_scale_option_6", "ordering": 5 } ] } } } } ```
Bug 1905902 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Added below an example experiment recipe. It can also be modifier by changing the style if max-display-count needs to be increased/decreased ([current default is 5](https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/messaging-fenix.fml.yaml#102-104)) ``` { "messages": { "feature-print-microsurvey": { "title": "microsurvey_prompt_printing_title", "text": "microsurvey_survey_printing_title", "surface": "microsurvey", "style": "MICRO_SURVEY", "trigger-if-all": [ "RECENTLY_PRINTED" ], "microsurvey-config": { "utm-content": "homepage", "icon": "ic_print", "answers": [ { "text": "likert_scale_option_1", "ordering": 0 }, { "text": "likert_scale_option_2", "ordering": 1 }, { "text": "likert_scale_option_3", "ordering": 2 }, { "text": "likert_scale_option_4", "ordering": 3 }, { "text": "likert_scale_option_5", "ordering": 4 }, { "text": "likert_scale_option_6", "ordering": 5 } ] } } } } ```
Added below an example experiment recipe. It can also be modifier by changing the style if max-display-count needs to be increased/decreased ([current default is 5](https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/messaging-fenix.fml.yaml#102-104)) ``` { "messages": { "feature-print-microsurvey": { "experiment": "{experiment}", "title": "microsurvey_prompt_printing_title", "text": "microsurvey_survey_printing_title", "surface": "microsurvey", "style": "MICRO_SURVEY", "trigger-if-all": [ "RECENTLY_PRINTED" ], "microsurvey-config": { "utm-content": "homepage", "icon": "ic_print", "answers": [ { "text": "likert_scale_option_1", "ordering": 0 }, { "text": "likert_scale_option_2", "ordering": 1 }, { "text": "likert_scale_option_3", "ordering": 2 }, { "text": "likert_scale_option_4", "ordering": 3 }, { "text": "likert_scale_option_5", "ordering": 4 }, { "text": "likert_scale_option_6", "ordering": 5 } ] } } } } ```
Added below an example experiment recipe. It can also be modifier by changing the style if max-display-count needs to be increased/decreased ([current default is 5](https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/messaging-fenix.fml.yaml#102-104)) The below json is for the "How much you like your Firefox hompage" survey ``` { "messages": { "feature-homepage-microsurvey": { "experiment": "{experiment}", "title": "micro_survey_prompt_title", "text": "microsurvey_homepage_title", "surface": "microsurvey", "style": "MICRO_SURVEY", "trigger-if-all": [ "SECOND_HOMEPAGE_VIEW" ], "microsurvey-config": { "utm-content": "homepage", "icon": "ic_home" "answers": [ { "text": "likert_scale_option_1", "ordering": 0 }, { "text": "likert_scale_option_2", "ordering": 1 }, { "text": "likert_scale_option_3", "ordering": 2 }, { "text": "likert_scale_option_4", "ordering": 3 }, { "text": "likert_scale_option_5", "ordering": 4 }, { "text": "likert_scale_option_6", "ordering": 5 } ] } } } } ```